Hi, I developed a react app locally with Coinmarketcap API. It was giving me CORS policy error locally too but I managed to handle that error by adding API’s endpoint to the package.json file with a proxy key.
When I deploy my app on netlify, that proxy thing didn’t work anymore. I tried to put heroku.app URL to the beginning of my API but it didn’t work as well. I don’t know back-end so how can I fix this problem?
Here is my source code: react-projects/4-cryptocurrency-marketcap at main · serdargokhan/react-projects · GitHub