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

Allow axios to use a proxy #273

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brennemankyle
Copy link

Allow axios to use a proxy

Description

By default axios fails to use a proxy set in environment variables PROXY_HTTP and PROXY_HTTPS

When requests use proxy-agent package this will work. However axios also requires the proxy to be turned off for the agent to work as a proxy. proxy: false. This is a long standing issue with axios

This will also not work with adapter: 'fetch' specified

Do NOT write here! This section will be filled in by GitHub Action
automatically. If you don't want this, either remove the markers or write
outside the fences.

Checklist

  • 💂‍♂️ includes new unit and functional tests

@brennemankyle brennemankyle requested review from a team as code owners October 3, 2024 17:17
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.

1 participant