CORS with SSR Nuxt on CF worker

We are running Nitro Server on cloudflare workers and want to know how to allow cors on our client when our Backend APIs are on a seperate subdomain
1 Reply
nicgene
nicgene13mo ago
At Nuxt Nation this year the team recommended NuxtSecurity and it has a CORS handler - https://nuxt-security.vercel.app/documentation/middleware/cors-handler
CORS Handler
Enabled Set roules for Cross Origin Resource Sharing.
Want results from more Discord servers?
Add your server