mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 19:27:23 +08:00
fix: remove duplicated slash in webapp redirect_url
- Remove duplicate slash between basePath and WBB_APP_LOGIN_PATH - Prevents double slashes in redirect URL
This commit is contained in:
parent
d7755dbbda
commit
90dd273684
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user