Skip to content

Commit

Permalink
fix(proxy): Fix httpsAgent Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Jul 17, 2017
1 parent 04094a1 commit 38c0402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ export function agentFromProxy (proxy) {
})
const { host, port } = proxy
const agent = new HttpsProxyAgent({ host, port })
return { httpsAgent: agent }
return agent
}

0 comments on commit 38c0402

Please sign in to comment.