merged dev with master
This commit is contained in:
parent
98d63bbb23
commit
6c2f23c0c9
|
@ -6,7 +6,6 @@ angular.module('users').config(['$httpProvider',
|
||||||
$httpProvider.interceptors.push(function($q, $location) {
|
$httpProvider.interceptors.push(function($q, $location) {
|
||||||
return {
|
return {
|
||||||
responseError: function(response) {
|
responseError: function(response) {
|
||||||
// console.log($location.path());
|
|
||||||
if( $location.path() !== '/users/me' && response.config){
|
if( $location.path() !== '/users/me' && response.config){
|
||||||
if(response.config.url !== '/users/me'){
|
if(response.config.url !== '/users/me'){
|
||||||
console.log('intercepted rejection of ', response.config.url, response.status);
|
console.log('intercepted rejection of ', response.config.url, response.status);
|
||||||
|
|
Loading…
Reference in a new issue