refac/fix: redirect
This commit is contained in:
1 parent
861953fd2d
commit
db1780678e
1 file changed
+1
-1
@@ -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