diff --git a/src/app/api/client.ts b/src/app/api/client.ts index 792938b..b8ca07f 100644 --- a/src/app/api/client.ts +++ b/src/app/api/client.ts @@ -6,6 +6,8 @@ const client = createClient({ baseUrl: import.meta.env.VITE_API_URL }) const UnauthorizedHandlerMiddleware: Middleware = { async onResponse({ response }) { + console.debug(response.headers.getSetCookie()) + console.debug(response.headers.get('set-cookie')) if (response.status === 401) { dispatchMessage('auth:unauthorized', null) }