cors-proxy-server

1.0.2 • Public • Published

cors-proxy-server

Simple CORS proxy server

Install

$ npm install -g cors-proxy-server

Usage

$ cors-proxy-server

This starts the default server on the current host 0.0.0.0 on port 9090

Configure HOST and PORT

$ HOST=192.168.0.110 PORT=8080 cors-proxy-server

Examples

  • http://localhost:9090/ - server usage and help
  • http://localhost:9090/http://google.com/ - Google.com with CORS headers
  • http://localhost:9090/https://salesforce.com/ - Access Salesforce with CORS headers

License

MIT © Antonio Aguilar, 2016.

Readme

Keywords

none

Package Sidebar

Install

npm i cors-proxy-server

Weekly Downloads

11

Version

1.0.2

License

MIT

Last publish

Collaborators

  • antonioaguilar