Working on page pre-rendering

This commit is contained in:
Julien Nahum
2024-01-02 16:35:16 +01:00
parent 3638ef8cfb
commit d1d8e62abb
25 changed files with 1677 additions and 119 deletions

View File

@@ -3,8 +3,6 @@ export default defineNuxtRouteMiddleware((to, from) => {
if (!authStore.check) {
useCookie('intended_url').value = to.path
console.log('redirecting to login')
return navigateTo({ name: 'login' })
}
})