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

try to detect proxy based on env variables #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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