Files
cors-proxy/README.md
T

14 lines
356 B
Markdown
Raw 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 05:49:47 +01:00
# Usage
1. `npm install`
1. `node index.js`
2017-02-20 14:28:51 -05:00
1. Navigate to `http://localhost:8000/http://www.example.com`
2016-04-14 05:49:47 +01: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 05:49:47 +01:00
E.g. `node index.js --port=8080`