feat(proxy): socks5 support (#933)

This commit is contained in:
joslynesser
2020-11-27 11:18:23 -08:00
committed by GitHub
parent a8d9c033b6
commit 364c6c25df
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ async function main() {
// Add the address of the proxy server if defined
if (config.proxy.address) {
args.push(
`--proxy-server=http://${config.proxy.address}:${config.proxy.port}`
`--proxy-server=${config.proxy.protocol}://${config.proxy.address}:${config.proxy.port}`
);
}