server/middlewares/auth.ts
export default defineEventHandler(async (event) => { const originalHeaders = useRequestHeaders(); logger.log("Original headers", originalHeaders); setHeader(useRequestEvent()!, "set-cookie", originalHeaders["set-cookie"]);// ...