aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-06 17:07:29 +0100
committerChocobozzz <me@florianbigard.com>2020-02-06 17:07:29 +0100
commitcef4e38f1c9f62c83caa26525a94742ee086f6f1 (patch)
treed88e6ee87a1e39e8a0901333f3e3eddd07556c10 /server/initializers/constants.ts
parent4fdeef8125417128852a0b69208adcd61bff3caa (diff)
downloadPeerTube-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/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts1
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'