From 5d242ce51d404e08ee5aa0d25c302947e428509b Mon Sep 17 00:00:00 2001 From: mshin Date: Fri, 30 Nov 2018 15:06:13 -0800 Subject: [PATCH] Fixing invalid agent issue --- lib/adapters/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/adapters/http.js b/lib/adapters/http.js index d39a573a2a..55c35a6477 100755 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -86,6 +86,7 @@ module.exports = function httpAdapter(config) { method: config.method.toUpperCase(), headers: headers, agent: agent, + agents: { http: config.httpAgent, https: config.httpsAgent }, auth: auth };