mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Merge branch 'moonion-master'
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = function httpAdapter(resolve, reject, config) {
|
|||||||
var options = {
|
var options = {
|
||||||
host: parsed.hostname,
|
host: parsed.hostname,
|
||||||
port: parsed.port,
|
port: parsed.port,
|
||||||
path: buildURL(parsed.path, config.params).replace(/^\?/, ''),
|
path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
|
||||||
method: config.method,
|
method: config.method,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
agent: config.agent
|
agent: config.agent
|
||||||
|
|||||||
Reference in New Issue
Block a user