mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 01:39:39 +02:00
fix(endpoints): always reset agent headers when switching state (#2939)
This commit is contained in:
parent
71b1da8d32
commit
f3b9668629
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function ($rootScope, $state, Authentication, authManager, StateManager, Endpoin
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$transitions.onBefore({ to: 'docker.**' }, function() {
|
$transitions.onBefore({}, function() {
|
||||||
HttpRequestHelper.resetAgentHeaders();
|
HttpRequestHelper.resetAgentHeaders();
|
||||||
});
|
});
|
||||||
}]);
|
}]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue