Closed Fiftyw3bs closed 2 weeks ago
Hi mate, this isn't really related to Atlas. I would suggest creating a simple reproducible example (just a dummy server) and trying to debug with it (perhaps mention at stackoverflow?), can also describe raw request which is being blocked.
Since there has been no activity in this issue for a while, I'll be closing it. Feel free to reopen it.
Has anyone encountered the following error message while trying to send requests?
Access to XMLHttpRequest at 'http://localhost:8222/create' from origin 'http://localhost:3004' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can't figure out how to remedy the issue.
My cors config currently looks like this (after trying both the example and many variations):