I’ll introduce how to deploy cors-anywhere to Heroku.
Please read the following articles about CORS:
git clone [email protected]:Rob--W/cors-anywhere.git
cd cors-anywhere
Create a Heroku app with heroku create app-name.
heroku create cors-codenote
Deploy to Heroku with the familiar git push heroku master.
git push heroku master
heroku open # Open https://cors-codenote.herokuapp.com/
Finally, open the URL https://cors-codenote.herokuapp.com/ in a browser with heroku open, and if text like This API enables cross-origin requests to anywhere. is displayed, we can confirm that it’s properly hosted on Heroku.
That’s all about wanting to host cors-anywhere on Heroku from the Gemba.