corsproxy2

standalone CORS proxy


License
MIT
Install
npm install corsproxy2@0.0.1

Documentation

corsproxy

standalone CORS proxy, a fork of corsproxy.

Build Status Dependency Status devDependency Status

This fork adds to CORS-proxy the ability to specify a custom scheme.

Setup

npm install -g corsproxy2
corsproxy
# with custom port: CORSPROXY_PORT=1234 corsproxy
# with custom host: CORSPROXY_HOST=localhost corsproxy
# with custom scheme: CORSPROXY_SCHEME=https corsproxy
# with debug server: DEBUG=1 corsproxy

Usage

The cors proxy will start at http://localhost:1337. To access another domain, use the domain name (including port) as the first folder, e.g.

  • http://localhost:1337/localhost:3000/sign_in
  • http://localhost:1337/my.domain.com/path/to/resource
  • etc etc

License

MIT