Skip to content

Commit 5ad2044

Browse files
committed
Allow infinite size of body and content
1 parent e2a095a commit 5ad2044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/dispatchRequest.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ function DispatchRequest(url, action, payload, local_auth, remote_auth = null, c
4747
mode: 'cors', // no-cors, cors, *same-origin
4848
redirect: 'follow', // manual, *follow, error
4949
referrer: 'client',
50+
maxContentLength: Infinity,
51+
maxBodyLength: Infinity,
5052
headers:{}
5153
// url:url,
5254
// no-referrer, *client

0 commit comments

Comments
 (0)