mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 03:10:11 +08:00
fix: remove unnecessary console log
This commit is contained in:
1 parent
72b2711367
commit
50bed23d37
8 files changed
+2
-14
No files matched your search
@@ -28,7 +28,6 @@ const router = createRouter({
|
||||
})
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
console.log(to, from)
|
||||
const loggedIn = await isLoggedIn()
|
||||
// Check if the route requires authentication
|
||||
if (to.meta.requiresAuth && !loggedIn) {
|
||||
|
||||
Reference in new issue
Block a user