mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
transloadit: Configure resume: false for the Tus plugin.
This commit is contained in:
parent
cdde75db4c
commit
0be93a5e7a
1 changed files with 4 additions and 1 deletions
|
|
@ -158,7 +158,10 @@ module.exports = class Transloadit extends Plugin {
|
|||
// Only send assembly metadata to the tus endpoint.
|
||||
metaFields: Object.keys(tlMeta),
|
||||
// Make sure tus doesn't resume a previous upload.
|
||||
uploadUrl: null
|
||||
uploadUrl: null,
|
||||
// Disable tus-js-client fingerprinting, otherwise uploading the same file at different times
|
||||
// will upload to the same assembly.
|
||||
resume: false
|
||||
})
|
||||
const transloadit = {
|
||||
assembly: assembly.assembly_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue