mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: missed refdirect
This commit is contained in:
1 parent
517be5a9ca
commit
1be34d9ae1
1 file changed
+1
-2
@@ -30,8 +30,7 @@
|
||||
}
|
||||
|
||||
if (!$page.url.pathname.startsWith('/console')) {
|
||||
const destination = await redirectTo();
|
||||
await goto(destination);
|
||||
await redirectTo();
|
||||
}
|
||||
} catch (error) {
|
||||
await goto(`${base}/login`);
|
||||
|
||||
Reference in new issue
Block a user