diff --git a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts b/libraries/react-shared-libraries/src/helpers/uppy.upload.ts index 78bd6002..d8704d56 100644 --- a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts +++ b/libraries/react-shared-libraries/src/helpers/uppy.upload.ts @@ -25,6 +25,9 @@ export const getUppyUploadPlugin = (provider: string, fetch: any, backendUrl: st return { plugin: AwsS3Multipart, options: { + shouldUseMultipart(file : any) { + return true; + }, createMultipartUpload: async (file: any) => { const arrayBuffer = await new Response(file.data).arrayBuffer(); const fileHash = sha256(Buffer.from(arrayBuffer));