weather-api icon indicating copy to clipboard operation
weather-api copied to clipboard

CORS Issue:

Open dromerosalem opened this issue 1 year ago • 5 comments

The "Access to XMLHttpRequest at 'https://goweather.herokuapp.com/weather/{city}' from origin 'https://dromerosalem.github.io/' has been blocked by CORS policy" error indicates that the API trying to access does not allow cross-origin requests from your deployed GitHub Pages site. This is a security measure enforced by the server hosting the API.

Is it possible to enable CORS so we can deploy at GitHub pages.

dromerosalem avatar May 21 '23 11:05 dromerosalem