Community Abyss scottcanoni's Discussions

scottcanoni scottcanoni's Discussions

Awesome thanks!  Unfortunately I have moved onto another project but I hope to return to this and I am excited you made this change, thank you!

3 years ago

I wasn't asking for POST requests.

What do you think about adding a wildcard for the `Access-Control-Allow-Origin` response header?  To the GET request.

3 years ago

Can a wildcard be added to the `Access-Control-Allow-Origin` response header?


This way we can use the API from the client side of the browser.  Otherwise this error is encountered:

Access to fetch at '' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
3 years ago