seimin 2 gadi atpakaļ
vecāks
revīzija
9db65d277a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      assets/js/config.router.js

+ 1 - 1
assets/js/config.router.js

@@ -35,7 +35,7 @@ app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvi
35 35
                             function ($http,$state) {
36 36
                                 if(resp.status == 444){
37 37
                                     // $state.go('login.signin');
38
-                                    if(window.location.hash !== '#/app/dashboard'){
38
+                                    if(window.location.hash !== '#/login/signin'){
39 39
                                         window.location.href = 'http://localhost:8080';
40 40
                                     }
41 41
                                 }