New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I configure CORS. I see that @tinyhttp/cors is a dependency of JSON-Server #1504
Comments
CORS is enabled for all routes by default. There should be not need to configure it. |
I'll have a look, thanks for the report |
Also just so you have a little background. I'm using Sentry.io and it adds some headers to do browser tracing and it's when it adds these headers that I get the CORS error. Thanks. |
Any news on this issue? I get the same CORS. |
The issue is only with alpha releases. i downgraded to version 0.17.4 and indeed CORS is enabled out of the box. |
I love you bro, I had the same problem too and it works downgraded the dependency. |
How can I configure CORS?
The text was updated successfully, but these errors were encountered: