Created by: chyipin
Provide a more flexible way to customize proxy
instead of specifying just a single value in package.json
. This change allow overriding PROXY via process.env; giving us the following capability to customize proxy
:
- command line
> PROXY=http://proxy-hostname:port/ npm start
-
.env
specific files
HOST=http://proxy-hostname:port