1.0.5 • Published 2 years ago

proxy-with-disabled-cors v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Simple proxy using for disable cors policy.

Set proxy for local development with headers:

Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers

How to use

1) Add module to project.

npm i --save proxy-with-disabled-cors

or install globally

npm i -g proxy-with-disabled-cors

2) paste arguments

proxy-with-disabled-cors -h https://google.com

or

proxy-with-disabled-cors -h https://google.com -p 3080 -o http://localhost:3000

Now you can use proxy http://localhost:3080