mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Removed call to secureEndpoint in https-proxy-agent
This commit is contained in:
parent
f493885714
commit
8d9cda2fc7
@ -127,9 +127,7 @@ class AwsProvider {
|
||||
|| process.env.https_proxy;
|
||||
|
||||
if (proxy) {
|
||||
const proxyOptions = url.parse(proxy);
|
||||
proxyOptions.secureEndpoint = true;
|
||||
AWS.config.httpOptions.agent = new HttpsProxyAgent(proxyOptions);
|
||||
AWS.config.httpOptions.agent = new HttpsProxyAgent(url.parse(proxy));
|
||||
}
|
||||
|
||||
const ca = process.env.ca
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user