Open officert opened 1 month ago
I'm running into an issue with CORS when using Vercel Speed Insights and Analytics in a NextJS app:
The POST requests seem to work fine, it's only the POST + Preflight request that failing.
POST
POST + Preflight
I've tried enabling CORS in a NextJS app as described here:
https://vercel.com/guides/how-to-enable-cors#enabling-cors-using-vercel.json
But it doesn't seem to affect the _vercel endpoint.
_vercel
Do the _vercel endpoints block CORS?
I'm running into an issue with CORS when using Vercel Speed Insights and Analytics in a NextJS app:
The
POST
requests seem to work fine, it's only thePOST + Preflight
request that failing.I've tried enabling CORS in a NextJS app as described here:
https://vercel.com/guides/how-to-enable-cors#enabling-cors-using-vercel.json
But it doesn't seem to affect the
_vercel
endpoint.Do the
_vercel
endpoints block CORS?