We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33a91d commit 7316948Copy full SHA for 7316948
src/lib/api/upload/upload.ts
@@ -208,7 +208,7 @@ export class Upload extends EventEmitter {
208
const f = await getFile(input, this.sanitizerOptions);
209
f.customName = this.overrideFileName;
210
if (f.size > BIG_FILE_THRESHOLD){
211
- this.uploader.setPartSize(BIG_FILE_THRESHOLD);
+ this.uploader.setPartSize(BIG_FILE_PART_SIZE);
212
}
213
this.uploader.addFile(f);
214
0 commit comments