Skip to content

Commit

Permalink
prioritizeFirstAndLastChunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Sep 13, 2024
1 parent a97bd2d commit 61357e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/hooks/useResumableFilesUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const useResumableFilesUpload = ({
Authorization: session.token,
},
fileType: allowedFileTypes,
prioritizeFirstAndLastChunk: true,
fileTypeErrorCallback(file) {
toast(t('notifications.file-type-not-allow', { filetype: file.type }), {
type: 'error',
Expand Down

0 comments on commit 61357e8

Please sign in to comment.