refac/fix: redirect
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
await config.set(await getBackendConfig());
|
||||
|
||||
if (!redirectPath) {
|
||||
redirectPath = $page.url.searchParams.get('redirectPath') || '/';
|
||||
redirectPath = $page.url.searchParams.get('redirect') || '/';
|
||||
}
|
||||
|
||||
goto(redirectPath);
|
||||
|
||||
Reference in New Issue
Block a user