From cf8497593df057b89517a9d5e95b4c1d2646b489 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 3 Nov 2015 12:23:39 -0500 Subject: [PATCH] Do not redirect on API 404 --- static/js/app.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index 33747af7a..710211967 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -226,11 +226,6 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi return false; } - if (response.status == 404) { - document.location = '/404'; - return false; - } - return true; });