Skip to content

Commit

Permalink
Merge pull request #112 from bananaoomarang/timeout-fix
Browse files Browse the repository at this point in the history
Added defaults.timeout to default config.
  • Loading branch information
mzabriskie committed Sep 24, 2015
2 parents 39c75a4 + 1ccd416 commit 67a0fc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 67a0fc3

Please sign in to comment.