Merge pull request #762 from coreos-inc/api404
Do not redirect on API 404
This commit is contained in:
commit
d99cf1b6fc
1 changed files with 0 additions and 5 deletions
|
@ -226,11 +226,6 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi
|
|||
return false;
|
||||
}
|
||||
|
||||
if (response.status == 404) {
|
||||
document.location = '/404';
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue