refac/fix: redirect
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user