From 0be93a5e7a0795f07247bb97aada7355ebb79c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 3 Nov 2017 13:47:57 +0100 Subject: [PATCH] transloadit: Configure `resume: false` for the Tus plugin. --- src/plugins/Transloadit/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/Transloadit/index.js b/src/plugins/Transloadit/index.js index 129246fd8..edc787ca6 100644 --- a/src/plugins/Transloadit/index.js +++ b/src/plugins/Transloadit/index.js @@ -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