mirror of
https://github.com/tenrok/axios.git
synced 2026-05-24 14:04:14 +03:00
Fixing invalid agent issue (#1904)
This commit is contained in:
committed by
Yasu Flores
parent
dc4bc49673
commit
03e6f4bf4c
@@ -85,10 +85,7 @@ module.exports = function httpAdapter(config) {
|
||||
method: config.method.toUpperCase(),
|
||||
headers: headers,
|
||||
agent: agent,
|
||||
agents: {
|
||||
httpsAgent: config.httpsAgent,
|
||||
httpAgent: config.httpAgent
|
||||
},
|
||||
agents: { http: config.httpAgent, https: config.httpsAgent },
|
||||
auth: auth
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user