Skip to content
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

CORS issue in next.js app #61

Open
cordial opened this issue Apr 22, 2021 · 0 comments
Open

CORS issue in next.js app #61

cordial opened this issue Apr 22, 2021 · 0 comments

Comments

@cordial
Copy link

cordial commented Apr 22, 2021

I'm trying to add this library to a next.js app, but when I send the request, I am getting a CORS error - Cross-Origin Read Blocking (CORB) blocked cross-origin response .... with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

Is there something in next.js needed to make this work? From the web, I might need to edit a next.config.js file, but I'm not really sure what to add to it if so. I presume someone has used this library with next.js, sorry if it is a question to ask them and not here.
https://nextjs.org/docs/api-reference/next.config.js/rewrites

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

No branches or pull requests

1 participant