From f131a0dcca644b322dabf48e6c44d6a24d937e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 11 Apr 2018 13:19:19 +0200 Subject: [PATCH] feat: specify maxContentLength to Infinity See https://github.com/axios/axios/pull/1287 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 929a35b..1160322 100644 --- a/src/index.js +++ b/src/index.js @@ -18,7 +18,7 @@ function getAxios(options) { return axios.create( Object.assign( { - maxContentLength: 1024 * 1024 * 1024 + maxContentLength: Infinity }, options )