hooks: {
after: createAuthMiddleware(async (ctx) => {
if (ctx.path === "/get-session") {
const responseHeaders = ctx.context.responseHeaders;
console.log(responseHeaders)
}
return;
}),
},
hooks: {
after: createAuthMiddleware(async (ctx) => {
if (ctx.path === "/get-session") {
const responseHeaders = ctx.context.responseHeaders;
console.log(responseHeaders)
}
return;
}),
},