Easy CORS fix

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!

git clone https://github.com/Rob--W/cors-anywhere.git
cd cors-anywhere/
npm install
heroku create
git push heroku master

Leave a comment

Your email address will not be published. Required fields are marked *