update app

This commit is contained in:
Chen, Tai-Lin committed 2024-03-04 23:35:05 +08:00
1 parent d924ccaaa9
commit 4ddbb5aede
7 files changed
+2 -2

No files matched your search

File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
+1 -1
View File
@@ -57,7 +57,7 @@ const router = createRouter({
routes,
})
router.beforeEach(async (to, from, next) => {
router.beforeEach(async (to, _from, next) => {
const loggedIn = await isLoggedIn()
// Check if the route requires authentication
if (to.meta.requiresAuth && !loggedIn) {