We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084c2cc commit 5a0b54fCopy full SHA for 5a0b54f
spring-boot-admin-server-ui/src/main/frontend/utils/axios.js
@@ -27,7 +27,7 @@ export const redirectOn401 = (predicate = () => true) => error => {
27
28
};
29
30
-const instance = axios.create({headers: {'Accept': 'application/json'}});
+const instance = axios.create({withCredentials: true, headers: {'Accept': 'application/json'}});
31
instance.interceptors.response.use(response => response, redirectOn401());
32
instance.create = axios.create;
33
0 commit comments