fix dockerfile

This commit is contained in:
Yusron alamsyah
2026-04-13 09:18:28 +07:00
parent 734a78bd37
commit 133f3b48be
164 changed files with 114 additions and 8298 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// middleware/auth.ts
import { useAuth } from '~/composables/useAuth';
import { useAuthSession } from '~/composables/useAuth';
export default defineNuxtRouteMiddleware(async (to) => {
// This middleware should only run on the client-side after the initial server-side render.
@@ -7,7 +7,7 @@ export default defineNuxtRouteMiddleware(async (to) => {
return;
}
const { isLoggedIn, fetchUserSession } = useAuth();
const { isLoggedIn, fetchUserSession } = useAuthSession();
// Initial check
if (!isLoggedIn.value) {