2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-02 16:04:10 +03:00

Merge pull request #112 from bananaoomarang/timeout-fix

Added defaults.timeout to default config.
This commit is contained in:
Matt Zabriskie
2015-09-24 13:28:13 -06:00
+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);