1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(endpoints): always reset agent headers when switching state (#2939)

This commit is contained in:
William 2019-06-19 00:45:49 +12:00 committed by xAt0mZ
parent 71b1da8d32
commit f3b9668629

View file

@ -31,7 +31,7 @@ function ($rootScope, $state, Authentication, authManager, StateManager, Endpoin
}
};
$transitions.onBefore({ to: 'docker.**' }, function() {
$transitions.onBefore({}, function() {
HttpRequestHelper.resetAgentHeaders();
});
}]);