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:
@@ -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