From f3b9668629b5dbfeeff08c3bcf9a181c14778ef8 Mon Sep 17 00:00:00 2001 From: William Date: Wed, 19 Jun 2019 00:45:49 +1200 Subject: [PATCH] fix(endpoints): always reset agent headers when switching state (#2939) --- app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index 38f0151e7..293a5fd3e 100644 --- a/app/app.js +++ b/app/app.js @@ -31,7 +31,7 @@ function ($rootScope, $state, Authentication, authManager, StateManager, Endpoin } }; - $transitions.onBefore({ to: 'docker.**' }, function() { + $transitions.onBefore({}, function() { HttpRequestHelper.resetAgentHeaders(); }); }]);