Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

try to detect proxy based on env variables#24

Open
fry2k wants to merge 1 commit intoshz:masterfrom
fry2k:proxy
Open

try to detect proxy based on env variables#24
fry2k wants to merge 1 commit intoshz:masterfrom
fry2k:proxy

Conversation

@fry2k
Copy link

@fry2k fry2k commented Apr 6, 2016

if one of the following environment variables is set and is not empty a https proxy agent is set for all requests:

  • process.env.http_proxy
  • process.env.HTTP_PROXY
  • process.env.https_proxy
  • process.env.HTTPS_PROXY

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant