π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Enable multipart uploads for all cloudflare uploads via uppy. this fixes upload errors with files < 100MB
Sven Herrmann77405deb35cf
diff --git a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts b/libraries/react-shared-libraries/src/helpers/uppy.upload.tsindex 78bd6002c..d8704d56b 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: streturn {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));