fix: remove duplicated slash in webapp redirect_url (#29161)

This commit is contained in:
NFish 2025-12-05 10:06:49 +08:00 committed by GitHub
parent cc6c59b27a
commit 7f5fda9175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ function requiredWebSSOLogin(message?: string, code?: number) {
params.append('message', message) params.append('message', message)
if (code) if (code)
params.append('code', String(code)) params.append('code', String(code))
globalThis.location.href = `${globalThis.location.origin}${basePath}/${WBB_APP_LOGIN_PATH}?${params.toString()}` globalThis.location.href = `${globalThis.location.origin}${basePath}${WBB_APP_LOGIN_PATH}?${params.toString()}`
} }
export function format(text: string) { export function format(text: string) {