debug api

This commit is contained in:
trochas
2026-01-07 13:50:50 +01:00
parent bb4c0f67ad
commit abbf4cb726
4 changed files with 17 additions and 104 deletions

View File

@@ -12,6 +12,7 @@ api.interceptors.request.use((config) => {
if (keycloak?.token) {
// eslint-disable-next-line no-param-reassign
config.headers.Authorization = `Bearer ${keycloak.token}`;
console.log(config.headers.Authorization);
}
return config;
});