Better 404 (and 403) pages

Fixes #1819
This commit is contained in:
Joseph Schorr 2016-09-21 13:53:09 -04:00
parent 502fa23d31
commit 4d5c65e6d4
12 changed files with 131 additions and 24 deletions

View file

@ -207,8 +207,9 @@ quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeP
// Public Repo Experiments
.route('/__exp/publicRepo', 'public-repo-exp')
// Default: Redirect to the landing page
.otherwise({redirectTo: '/'});
// 404/403
.route('/:catchall', 'error-view')
.route('/:catch/:all', 'error-view');
}]);
// Configure compile provider to add additional URL prefixes to the sanitization list. We use