aboutsummaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:55:14 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:55:14 +0530
commitd5c95688f17bcd34577e3357a725298071407c57 (patch)
tree2f24b967b9b77eca426f8f98194f59206ecbce5a /src/router/index.ts
parent875e3177958f19688f066b1323d014abede70003 (diff)
turned print preview white
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
index 32a2962..d498728 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -85,7 +85,6 @@ const router = createRouter({
})
router.beforeEach((to, _, next) => {
- console.log(to.fullPath)
if (to.meta.isAuth && !localStorage.getItem('authToken')) {
next(`/login?redirect=${to.fullPath}`)
} else {