From 26469f9ed85f5e7d67ccecaa820f33e37179b76a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Feb 2020 09:02:18 +0100 Subject: [PATCH] Correctly fix octet stream fallback for video ext --- server/initializers/constants.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 8f5c1df1d..13e32b6d2 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -795,6 +795,8 @@ function buildVideoMimetypeExt () { 'video/x-matroska': '.mkv', 'video/avi': '.avi', 'video/x-m4v': '.m4v', + // Could be anything + 'application/octet-stream': null, 'video/m4v': '.m4v' }) }