seimin 2 년 전
부모
커밋
2fe9452b23
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      assets/js/config.router.js

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

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