Skip to content

check proxy bypass before setting proxy agent#320

Merged
bryanmacfarlane merged 1 commit intomasterfrom
users/ericsciple/m165proxyurl
Jan 23, 2020
Merged

check proxy bypass before setting proxy agent#320
bryanmacfarlane merged 1 commit intomasterfrom
users/ericsciple/m165proxyurl

Conversation

@ericsciple
Copy link
Copy Markdown
Contributor

No description provided.

const httpClient = new HttpClient()
return httpClient.getAgent('https://api.github.com')
const serverUrl = 'https://api.github.com'
if (httpClient.getProxyUrl(serverUrl)) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

check the bypass list before setting proxy agent

@bryanmacfarlane
Copy link
Copy Markdown
Member

LGTM

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.

2 participants