diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-06 17:07:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-06 17:07:29 +0100 |
commit | cef4e38f1c9f62c83caa26525a94742ee086f6f1 (patch) | |
tree | d88e6ee87a1e39e8a0901333f3e3eddd07556c10 /server | |
parent | 4fdeef8125417128852a0b69208adcd61bff3caa (diff) | |
download | PeerTube-cef4e38f1c9f62c83caa26525a94742ee086f6f1.tar.gz PeerTube-cef4e38f1c9f62c83caa26525a94742ee086f6f1.tar.zst PeerTube-cef4e38f1c9f62c83caa26525a94742ee086f6f1.zip |
Remove octet stream fallback for video extension
It could be a FLAC file for example
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 68c84f509..0476815f4 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -795,7 +795,6 @@ function buildVideoMimetypeExt () { | |||
795 | 'video/x-msvideo': '.avi', | 795 | 'video/x-msvideo': '.avi', |
796 | 'video/x-flv': '.flv', | 796 | 'video/x-flv': '.flv', |
797 | 'video/x-matroska': '.mkv', | 797 | 'video/x-matroska': '.mkv', |
798 | 'application/octet-stream': '.mkv', | ||
799 | 'video/avi': '.avi', | 798 | 'video/avi': '.avi', |
800 | 'video/x-m4v': '.m4v', | 799 | 'video/x-m4v': '.m4v', |
801 | 'video/m4v': '.m4v' | 800 | 'video/m4v': '.m4v' |