fix: cloud beta card route

This commit is contained in:
tglide authored and Christy Jacob committed 2023-05-01 17:27:27 +05:30
1 parent 58143b2f9c
commit b9cf923282
1 file changed
+7 -1
+7 -1
View File
@@ -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') &&