update comment
This commit is contained in:
parent
11014ea5fd
commit
1ae95ba9f7
|
|
@ -697,7 +697,7 @@ export function createProxyAgent(proxy: types.ProxySettings) {
|
|||
proxyURL.username = proxy.username;
|
||||
if (proxy.password)
|
||||
proxyURL.password = proxy.password;
|
||||
// TODO: We should use HttpProxyAgent conditional on proxyOpts.protocol instead of always using CONNECT method.
|
||||
// TODO: We should use HttpProxyAgent conditional on proxyURL.protocol instead of always using CONNECT method.
|
||||
return new HttpsProxyAgent(proxyURL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue