diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-06 17:22:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-06 17:22:32 +0100 |
commit | bc053fb3037fe1598a190dee057051e77f0b4a05 (patch) | |
tree | d172a6bced2c6fe7386006d034bea4379bbbcfa2 | |
parent | 22f18a4a197513c4cae685717829637cae853ae2 (diff) | |
download | PeerTube-bc053fb3037fe1598a190dee057051e77f0b4a05.tar.gz PeerTube-bc053fb3037fe1598a190dee057051e77f0b4a05.tar.zst PeerTube-bc053fb3037fe1598a190dee057051e77f0b4a05.zip |
Remove octet stream fallback for video extension
It could be a FLAC file for example
-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 032f63c8f..e4b8a8eca 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -790,7 +790,6 @@ function buildVideoMimetypeExt () { | |||
790 | 'video/x-msvideo': '.avi', | 790 | 'video/x-msvideo': '.avi', |
791 | 'video/x-flv': '.flv', | 791 | 'video/x-flv': '.flv', |
792 | 'video/x-matroska': '.mkv', | 792 | 'video/x-matroska': '.mkv', |
793 | 'application/octet-stream': '.mkv', | ||
794 | 'video/avi': '.avi', | 793 | 'video/avi': '.avi', |
795 | 'video/x-m4v': '.m4v', | 794 | 'video/x-m4v': '.m4v', |
796 | 'video/m4v': '.m4v' | 795 | 'video/m4v': '.m4v' |