UI Architect, Full Stack Web Developer – San Francisco Bay Area (Walnut Creek), CA
UI Architect, Full Stack Web Developer – San Francisco Bay Area (Walnut Creek), CA

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!

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

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 thoughts on “Easy CORS fix”