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