Spin up a API proxy on Heroku that adds CORS headers. Make sure you have heroku
and git
on your computer:
- Download these files into a directory
- Change 'some-target.com' to your target domain in index.js
- $ git init
- $ git add .
- $ git commit -m "And away we go..."
- $ heroku create
- $ git push heroku master
- $ heroku ps:scale web=1
- $ heroku open
If you have trouble with Heroku, consult their node.js getting started guide.