提交 69aba098 编写于 作者: J Joao Moreno

s/host/hostname/

fixes #69
上级 ff077c10
......@@ -22,7 +22,7 @@ function getAgent(rawRequestURL: string, proxyURL: string, strictSSL: boolean =
}
return new HttpsProxyAgent({
host: proxyEndpoint.host,
host: proxyEndpoint.hostname,
port: Number(proxyEndpoint.port),
rejectUnauthorized: strictSSL
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册