Skip to content

A self-hosted media server and file management system

fix: remove logging

aminnausin6e348967277f
diff --git a/resources/js/router/index.ts b/resources/js/router/index.ts
index ac6b472b..359de18e 100644
--- a/resources/js/router/index.ts
+++ b/resources/js/router/index.ts
@@ -214,8 +214,6 @@ router.beforeEach(async (to, from, next) => {
// If going to 'login' and no redirect was specified, but the previous path had a value, navigate to login with a redirect to the previous page
if (to.name === 'login' && !to.query.redirect && from.fullPath !== '/') {
- console.log(from.fullPath);
-
return next({
name: 'login',
query: { redirect: from.fullPath },