s/host/hostname/

fixes #69
This commit is contained in:
Joao Moreno
2016-01-04 17:41:30 +01:00
parent ff077c103e
commit 69aba0984c

View File

@@ -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
});