Skip to content

adds support for http_proxy and https_proxy - #13

Closed
MartinKnopf wants to merge 4 commits into
vercel:masterfrom
MartinKnopf:master
Closed

MartinKnopf wants to merge 4 commits into
vercel:masterfrom
MartinKnopf:master

Conversation

@MartinKnopf

@MartinKnopf MartinKnopf commented Oct 25, 2018 •

Copy link
Copy Markdown

Hi there,

this pull request is preparing support for proxies in now-cli (vercel/vercel#255). I tested it behind a corporate proxy.

Cheers,
Martin

Comment thread index.js

const proxyAddress = process.env.http_proxy
|| process.env.HTTP_PROXY
|| process.env.https_proxy

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the lowercase version really a thing 😨

@leo leo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an option instead?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants