mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac/fix: redirect
This commit is contained in:
parent
861953fd2d
commit
db1780678e
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@
|
||||||
await config.set(await getBackendConfig());
|
await config.set(await getBackendConfig());
|
||||||
|
|
||||||
if (!redirectPath) {
|
if (!redirectPath) {
|
||||||
redirectPath = $page.url.searchParams.get('redirectPath') || '/';
|
redirectPath = $page.url.searchParams.get('redirect') || '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
goto(redirectPath);
|
goto(redirectPath);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue