Skip to content
New issue

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

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

Already on GitHub? Sign in 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
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