I have used this end point in my react-app which is publicly available.
Even though this endpoint is publicly available to everyone unfortunately they have not set Access-Control-Allow-Origin to all so I had to use moseif cors extension to skip the cors issue in dev environment. The endpoint works when tried with postman.
But even after deploying my react app to firebase the end point emits a cors error.
Access to XMLHttpRequest at 'https://www.covidvisualizer.com/api' from origin 'https://example.firebaseapp.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is there something that I'm missing ?
Is there a way to override the cors issue from my side because i have zero control over the backend end point that i'm trying to access.
Isn't deploying my react-app to a server supposed to fix this cors issue ?
Thanks.