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

server/initializers/constants.ts

index 032f63c8f7bc5b64f760e2925f6acf6ec163edec..e4b8a8eca35e2665664283b5f6071e61f9dffa31 100644 (file)
@@ -790,7 +790,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'