I seem to be running into cors errors anytime I try to access the api from localhost or from my deployed application.
Here is the error I run into: Access to XMLHttpRequest at 'https://covid-api.com/api/reports' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It was working well up until recently. How may I get around this?
I seem to be running into cors errors anytime I try to access the api from localhost or from my deployed application.
Here is the error I run into:
Access to XMLHttpRequest at 'https://covid-api.com/api/reports' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It was working well up until recently. How may I get around this?