2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +03:00

Added defaults.timeout to default config.

This commit is contained in:
Milo Mordaunt
2015-09-24 15:53:41 -03:00
parent 39c75a47e1
commit 1ccd4161c7
+1
View File
@@ -9,6 +9,7 @@ var axios = module.exports = function (config) {
config = utils.merge({
method: 'get',
headers: {},
timeout: defaults.timeout,
transformRequest: defaults.transformRequest,
transformResponse: defaults.transformResponse
}, config);