mirror of
https://github.com/tenrok/axios.git
synced 2026-05-30 15:24:11 +03:00
add config.paramsSerializer to http adapter
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = function httpAdapter(resolve, reject, config) {
|
||||
var options = {
|
||||
host: parsed.hostname,
|
||||
port: parsed.port,
|
||||
path: buildUrl(parsed.path, config.params).replace(/^\?/, ''),
|
||||
path: buildUrl(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
|
||||
method: config.method,
|
||||
headers: headers,
|
||||
agent: config.agent
|
||||
|
||||
Reference in New Issue
Block a user