remove some debugs
This commit is contained in:
parent
0cbcab6597
commit
ff10228907
4 changed files with 1 additions and 3 deletions
|
@ -8,6 +8,7 @@ export function initClient(): ApiClient {
|
|||
const client = createClient<paths>({ baseUrl: import.meta.env.VITE_API_URL })
|
||||
const UnauthorizedHandlerMiddleware: Middleware = {
|
||||
async onResponse({ response }) {
|
||||
console.debug('on response middleware?')
|
||||
console.debug(response.headers.getSetCookie())
|
||||
console.debug(response.headers.get('set-cookie'))
|
||||
if (response.status === 401) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue