4 Replies
An API-route?
nope, a regular route
Can you describe your usecase?
setting a cookie
I've figured it out
getRequestEvent()?.node.res.appendHeader("x-foo", "bar")
getRequestEvent()?.node.res.appendHeader("x-foo", "bar")