jwyu hai 1 ano
pai
achega
d17d21e1c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main.js

+ 1 - 1
src/main.js

@@ -137,7 +137,7 @@ router.beforeEach((to, from, next) => {
   }
 
   let auth = localStorage.getItem("auth") || false;
-  if (to.path != "/login" && !auth) {
+  if (to.path != "/login" && to.path!='/temppage' && !auth) {
     window.location.href = process.env.Login;
     return false;
   }