mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
fix: web SSO login redirect to correct basePath and origin (#23058)
This commit is contained in:
@ -115,7 +115,7 @@ function requiredWebSSOLogin(message?: string, code?: number) {
|
||||
params.append('message', message)
|
||||
if (code)
|
||||
params.append('code', String(code))
|
||||
globalThis.location.href = `/webapp-signin?${params.toString()}`
|
||||
globalThis.location.href = `${globalThis.location.origin}${basePath}/webapp-signin?${params.toString()}`
|
||||
}
|
||||
|
||||
export function format(text: string) {
|
||||
|
||||
Reference in New Issue
Block a user