seimin 2 vuotta sitten
vanhempi
commit
9eb0d2a2f4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      assets/js/config.router.js

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

@@ -36,7 +36,7 @@ app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvi
36 36
                                 if(resp.status == 444){
37 37
                                     // $state.go('login.signin');
38 38
                                     if(window.location.hash !== '#/login/signin'){
39
-                                        window.location.href = '/';
39
+                                        window.location.href = location.origin;
40 40
                                     }
41 41
                                 }
42 42
                             }
@@ -199,7 +199,7 @@ app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvi
199 199
         // $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
200 200
         // For any unmatched url, redirect to /app/dashboard
201 201
         // $urlRouterProvider.otherwise("/app/knowledge/forum");
202
-        // $urlRouterProvider.otherwise("/login/signin");
202
+        $urlRouterProvider.otherwise("/");
203 203
         //
204 204
         // Set up the states
205 205
         $stateProvider.state('app', {