Add stuff

This commit is contained in:
2025-07-31 22:50:39 +02:00
parent 07c434dba8
commit 15f4f74cb7
18 changed files with 506 additions and 76 deletions
+8
View File
@@ -0,0 +1,8 @@
export default defineNuxtRouteMiddleware(() => {
const { loggedIn } = useUserSession();
if (!loggedIn.value) {
const localePath = useLocalePath();
return navigateTo(localePath('/login'));
}
});