Skip to content

Commit

Permalink
set maxContentLength when uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
josiasmontag committed Jul 29, 2020
1 parent 4156af4 commit d154e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/TasksResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ export default class TasksResource {
task.result.form.url,
formData,
{
maxContentLength: Infinity,
headers: {
...formData.getHeaders(),
Authorization: null
Expand Down

0 comments on commit d154e53

Please sign in to comment.