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

Simple proxy support (not tested) #1

Merged
merged 1 commit into from
Nov 10, 2020
Merged

Conversation

heylel-b-sh
Copy link
Contributor

Tries to read 'proxySettings' string from config.json. If it was provided, sets it to --all-proxy parameter when running aria2c and https_proxy environment variable when running satellite (node).

Although it wasn't properly tested, https_proxy should work for node

Info links:
nodejs/node#8381
https://github.com/request/request#controlling-proxy-behaviour-using-environment-variables

Tries to read 'proxySettings' string from config.json. If it was
provided, sets it to --all-proxy parameter when running aria2c
and https_proxy environment variable when running satellite (node)
Refere to these links:
nodejs/node#8381
https://github.com/request/request#controlling-proxy-behaviour-using-environment-variables
@heylel-b-sh heylel-b-sh merged commit 77dd4b1 into main Nov 10, 2020
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