mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: cloud beta card route
This commit is contained in:
1 parent
15759952a6
commit
78452a0720
1 file changed
+7
-1
@@ -60,7 +60,13 @@
|
||||
* Handle initial load.
|
||||
*/
|
||||
if (!$page.url.pathname.startsWith('/auth')) {
|
||||
const acceptedRoutes = ['/login', '/register', '/recover', '/invite'];
|
||||
const acceptedRoutes = [
|
||||
'/login',
|
||||
'/register',
|
||||
'/recover',
|
||||
'/invite',
|
||||
'/cloud-beta-card'
|
||||
];
|
||||
if ($user) {
|
||||
if (
|
||||
!$page.url.pathname.startsWith('/console') &&
|
||||
|
||||
Reference in new issue
Block a user