mirror of https://github.com/portainer/portainer
fix(endpoints): always reset agent headers when switching state (#2939)
parent
71b1da8d32
commit
f3b9668629
|
@ -31,7 +31,7 @@ function ($rootScope, $state, Authentication, authManager, StateManager, Endpoin
|
|||
}
|
||||
};
|
||||
|
||||
$transitions.onBefore({ to: 'docker.**' }, function() {
|
||||
$transitions.onBefore({}, function() {
|
||||
HttpRequestHelper.resetAgentHeaders();
|
||||
});
|
||||
}]);
|
||||
|
|
Loading…
Reference in New Issue