Add 404 page

Fixes coreos-inc/quay#677
This commit is contained in:
Quentin Machu 2015-10-21 15:28:45 -04:00
parent e008f48f36
commit adb744089e
6 changed files with 136 additions and 101 deletions

View file

@ -226,6 +226,11 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi
return false;
}
if (response.status == 404) {
document.location = '/404';
return false;
}
return true;
});