Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

check proxy bypass before setting proxy agent #320

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

ericsciple
Copy link
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
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
Member

LGTM

@bryanmacfarlane bryanmacfarlane merged commit 432a78c into master Jan 23, 2020
@ericsciple ericsciple deleted the users/ericsciple/m165proxyurl branch January 23, 2020 19:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants