Super simple CORS proxy supporting most (maybe all?) HTTP verbs.
ae887c6cc2
Always return 200 for OPTIONS |
||
---|---|---|
.gitignore | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
CorsProxy
Super simple CORS proxy supporting most (maybe all?) HTTP verbs.
Usage
npm install
node index.js
- Navigate to
http://localhost:8000/http://www.example.com
To change the listening port either set the PORT
environment variable to pass it in as an argument.
E.g. node index.js --port=8080