Nothing is more frustrating when learning full-stack web development than running into the dreaded CORS roadblock
Turns out there’s an easy fix: https://cors-anywhere.herokuapp.com Only one little problem. It goes down from time to time, usually when you need it the most. Fortunately, it’s super easy to create your own cors-anywhere in less than 5 minutes!
First, make sure you have an account at Heroku and you have installed Heroku CLI:
git clone https://github.com/Rob--W/cors-anywhere.git
cd cors-anywhere/
npm install
heroku create
git push heroku master
2 thoughts on “Easy CORS fix”
Hi! That solution didn’t work form me.
My apologies. You will need to set up a Heroku account and install heroku CLI.