fix: cloud beta card route

This commit is contained in:
tglide
2023-04-24 16:55:48 +01:00
parent 15759952a6
commit 78452a0720
+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') &&