Hi everyone,
I’m currently working on a Nuxt-Bridge application with SSR and trying to deploy it on Netlify. Using Nitro, I was able to generate a Netlify-specific build that redirects traffic to edge_functions/server.js
, which handles requests and generates content. Everything works fine, except for one issue.
In my server-side plugin, I need to set response headers, but I’m running into this error:
context.res.setHeaders is not a function
Are there any debugging options to check how this works? Has anyone encountered a similar issue?
Maybe there’s a different way to set headers in edge_functions
? If so, how should I do it?
Any guidance would be much appreciated!
Thanks in advance!