0.0.11 • Published 4 years ago

cors-tunnel v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

cors-tunnel

Http reverse proxy with CORS and cookie tunneling - localhost:3001 -> api.prod.domain.com.

locahost:3000 -> CORS-cookie-free tunnel-server localhost:3001 <- api.production.domain.com

Usage

If you need a cookie for auth the session, copy it from the Browser and save to a file ".cookie.env"

npx cors-tunnel -p 3001 -t https://api.prod.domain.com -c .cookie.prod"

Now your local Api server http://localhost:3001 will forward requests to https://api.prod.domain.com adding CORS headers to the response.

Enojy dev/debug with real backend!

Enjoy running your local frontend http://localhost:3000 using real backend services!

Contributors

See Contributors.

License

MIT License.

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago