Files
cors-proxy/README.md
2021-03-21 10:11:10 +00:00

356 B

CorsProxy

A proxy enabling CORS headers on responses, supporting most (maybe all?) HTTP verbs.

Usage

  1. npm install
  2. node index.js
  3. 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