Remove octet stream fallback for video extension
authorChocobozzz <me@florianbigard.com>
Thu, 6 Feb 2020 16:07:29 +0000 (17:07 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 6 Feb 2020 16:07:29 +0000 (17:07 +0100)
It could be a FLAC file for example

server/initializers/constants.ts

index 68c84f509c1effdbfc539f9a00b8b218b4d046d6..0476815f443e72b4b27a846ac29264d26c36f6ad 100644 (file)
@@ -795,7 +795,6 @@ function buildVideoMimetypeExt () {
         'video/x-msvideo': '.avi',
         'video/x-flv': '.flv',
         'video/x-matroska': '.mkv',
-        'application/octet-stream': '.mkv',
         'video/avi': '.avi',
         'video/x-m4v': '.m4v',
         'video/m4v': '.m4v'