Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: sets maxBodyLength as infinity to enable upload of large files
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Mar 17, 2021
1 parent 665b959 commit 76ff94c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/import/import.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export class ImportService {
axiosRequestConfig: {
// required for uploading large files
// https://github.com/axios/axios/issues/1362
maxContentLength: 'Infinity' as any
maxContentLength: 'Infinity' as any,
maxBodyLength: 'Infinity' as any
}
})
});
Expand Down

0 comments on commit 76ff94c

Please sign in to comment.