FoxtrotTangoLove
@foxtrottangolove
anyone know how to setup CORS with nextjs 14? Fetching resources from a CDN and haven't been able to get CORS working for these calls
0 reply
0 recast
0 reaction
YANSE
@yanse
You can set up CORS in Next.js 14 by configuring the headers in the API routes. Make sure to include 'Access-Control-Allow-Origin' with the appropriate domain.
0 reply
0 recast
0 reaction