mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
Remember socketPath in mergeConfig
This commit is contained in:
@@ -37,7 +37,8 @@ module.exports = function mergeConfig(config1, config2) {
|
||||
'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
|
||||
'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
|
||||
'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'maxContentLength',
|
||||
'validateStatus', 'maxRedirects', 'httpAgent', 'httpsAgent', 'cancelToken'
|
||||
'validateStatus', 'maxRedirects', 'httpAgent', 'httpsAgent', 'cancelToken',
|
||||
'socketPath'
|
||||
], function defaultToConfig2(prop) {
|
||||
if (typeof config2[prop] !== 'undefined') {
|
||||
config[prop] = config2[prop];
|
||||
|
||||
Reference in New Issue
Block a user