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

Add proxy support with "global-agent" #126

Closed
wants to merge 1 commit into from

Conversation

muffl0n
Copy link

@muffl0n muffl0n commented Apr 4, 2023

Export GLOBAL_AGENT_HTTP_PROXY to make use of your proxy.

See: https://github.com/gajus/global-agent#setup-proxy-using-global-agentbootstrap

@mishushakov
Copy link
Member

Thanks, will take a look on the weekend!

@mishushakov
Copy link
Member

Sorry it took so long for me to get back to you. We'd prefer a solution using a Proxy Agent, not globally

Take a look here: https://github.com/sindresorhus/got/blob/main/documentation/tips.md

However, if it works for you right now, you should keep using it until the preferred solution is implemented

Thanks for your effort, regardless!

@mishushakov
Copy link
Member

Closing, because inactive

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.

None yet

2 participants