We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086d79c commit 0dd1a98Copy full SHA for 0dd1a98
1 file changed
lib/uploader/uploader.ts
@@ -478,7 +478,7 @@ export class Uploader {
478
const supportsPublicChunking = getCapabilities().dav?.public_shares_chunking ?? false
479
const maxChunkSize = getMaxChunksSize('size' in file ? file.size : undefined)
480
// If manually disabled or if the file is too small
481
- const disabledChunkUpload = !supportsPublicChunking
+ const disabledChunkUpload = (this._isPublic && !supportsPublicChunking)
482
|| maxChunkSize === 0
483
|| ('size' in file && file.size < maxChunkSize)
484
0 commit comments