File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ module.exports = function nuxtAxios (_moduleOptions) {
40
40
progress : true ,
41
41
proxyHeaders : true ,
42
42
proxyHeadersIgnore : [ 'accept' , 'host' ] ,
43
- proxy : false
43
+ proxy : false ,
44
+ retry : false
44
45
} ,
45
46
moduleOptions
46
47
)
Original file line number Diff line number Diff line change 36
36
"dependencies" : {
37
37
"@nuxtjs/proxy" : " ^1.1.4" ,
38
38
"axios" : " ^0.17.1" ,
39
+ "axios-retry" : " ^3.0.1" ,
39
40
"chalk" : " ^2.3.0" ,
40
41
"debug" : " ^3.1.0"
41
42
},
Original file line number Diff line number Diff line change @@ -345,6 +345,12 @@ aws4@^1.2.1, aws4@^1.6.0:
345
345
version "1.6.0"
346
346
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
347
347
348
+ axios-retry@^3.0.1 :
349
+ version "3.0.1"
350
+ resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.0.1.tgz#519305b0ae34b68d67fd92e45e5f18057879febd"
351
+ dependencies :
352
+ is-retry-allowed "^1.1.0"
353
+
348
354
axios@^0.17.1 :
349
355
version "0.17.1"
350
356
resolved "https://registry.yarnpkg.com/axios/-/axios-0.17.1.tgz#2d8e3e5d0bdbd7327f91bc814f5c57660f81824d"
@@ -3764,6 +3770,10 @@ is-resolvable@^1.0.0:
3764
3770
version "1.1.0"
3765
3771
resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88"
3766
3772
3773
+ is-retry-allowed@^1.1.0 :
3774
+ version "1.1.0"
3775
+ resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34"
3776
+
3767
3777
is-stream@^1.0.1, is-stream@^1.1.0 :
3768
3778
version "1.1.0"
3769
3779
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
You can’t perform that action at this time.
0 commit comments