Proxy to access resources that lack the Access-Control-Allow-Origin * header
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 8 commits ahead of bmpvieira:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.jshintrc
.npmignore
LICENSE
Procfile
README.md
app.json
index.js
package.json

README.md

dummy-corsproxy

Fork of simple-corsproxy by Bruno Vieira

Differencies:

  • forward of original request status and headers
  • environment variable changed to PROXY_PORT
  • console print

Proxy to access resources that lack the Access-Control-Allow-Origin * header

Install

$ npm install dummy-corsproxy -g

Usage

$ dummy-corsproxy
=> Listening on port: 8080 # or environment variable PROXY_PORT

Add the url to the proxy path, like:

http://localhost:8080/https://google.com

License

MIT