|
|
@@ -14,8 +14,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
'responseError': function (response) {
|
|
|
if (response.status == 401) {// UNAUTHORIZED
|
|
|
// window.location.href = response.data.loginUrl || 'index';
|
|
|
- window.location.href = window.location.origin + window.location.pathname + '/login';
|
|
|
- // window.location.reload();
|
|
|
+ // window.location.href = window.location.origin + window.location.pathname + '/login';
|
|
|
+ window.location.reload();
|
|
|
return $q.reject(response);
|
|
|
}
|
|
|
return $q.reject(response);
|