Open lammerfalcon opened 3 months ago
Any info?(
Hi, sorry for the late reply. Two-way sync is not possible today, unfortunately between event.node
and event.node.req.headers
I would suggest to use ...event.node.req.headers
in proxy request.
I will move this to more relevant place (h3)
Hi. With upcoming v2, two way sync will be possible (https://github.com/unjs/h3/pull/829)
Environment
Basic nuxt 3 project
Reproduction
https://stackblitz.com/edit/github-c51gfm?file=app.vue,server%2Fapi%2Fauth%2Flogin.post.ts,server%2Fapi%2F%5B...%5D.ts
Describe the bug
event.headers.set() does not apply to proxyRequest, but other variants works well
Additional context
No response
Logs
No response