diff --git a/functions/api/reports/submit.ts b/functions/api/reports/submit.ts index eefb907..5069f79 100644 --- a/functions/api/reports/submit.ts +++ b/functions/api/reports/submit.ts @@ -213,9 +213,11 @@ export async function onRequestPost(context: RequestContext) { const extension = (url.split(".").at(-1) as string).toLowerCase(); if (["mkv", "mov", "wmv"].includes(extension)) { - await context.env.DATA.put(`videoprocessing_${url}.${extension}`, "1", { - expirationTtl: 600, - }); + // These are merely glorified mp4 containers + if (extension !== "mov") + await context.env.DATA.put(`videoprocessing_${url}.${extension}`, "1", { + expirationTtl: 600, + }); url = url.replace(`.${extension}`, ".mp4"); }