jll38 / njitbytes

https://njitbytes.co
Other
2 stars 0 forks source link

Fix Cors Errors #27

Closed jll38 closed 1 year ago

jll38 commented 1 year ago

Access to XMLHttpRequest at 'https://njitbytes.co/api/breakfast' from origin 'http://localhost:3000' 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.

Probably something on the backend to fix

Temporary solution is a proxy server we're sending requests to.

Vladimir-G4 commented 1 year ago

Working on this now.