Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CORS errors #143

Open
officert opened this issue Jun 6, 2024 · 1 comment
Open

CORS errors #143

officert opened this issue Jun 6, 2024 · 1 comment

Comments

@officert
Copy link

officert commented Jun 6, 2024

I'm running into an issue with CORS when using Vercel Speed Insights and Analytics in a NextJS app:

Screenshot 2024-06-06 at 2 24 32 PM

The POST requests seem to work fine, it's only the POST + 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?

@allisonIsCoding
Copy link

Any updates? This is still an issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants