From 90dd273684c6830cb018f70aa5ad7e94fd90a69b Mon Sep 17 00:00:00 2001 From: NFish Date: Fri, 5 Dec 2025 09:48:00 +0800 Subject: [PATCH] fix: remove duplicated slash in webapp redirect_url - Remove duplicate slash between basePath and WBB_APP_LOGIN_PATH - Prevents double slashes in redirect URL --- web/service/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/service/base.ts b/web/service/base.ts index ccb48bd46b..525593d71d 100644 --- a/web/service/base.ts +++ b/web/service/base.ts @@ -144,7 +144,7 @@ function requiredWebSSOLogin(message?: string, code?: number) { params.append('message', message) if (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) {