cors-proxy/README.md

14 lines
356 B
Markdown
Raw Permalink Normal View History

2021-03-21 10:11:10 +00:00
![CorsProxy](logo.png)
> A proxy enabling CORS headers on responses, supporting most (maybe all?) HTTP verbs.
2016-04-14 04:49:47 +00:00
# Usage
1. `npm install`
1. `node index.js`
2017-02-20 19:28:51 +00:00
1. Navigate to `http://localhost:8000/http://www.example.com`
2016-04-14 04:49:47 +00:00
2021-03-21 10:11:10 +00:00
To change the listening port either set the `PORT` environment variable to pass it in as an argument.
2016-04-14 04:49:47 +00:00
E.g. `node index.js --port=8080`