aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-07 09:02:18 +0100
committerChocobozzz <me@florianbigard.com>2020-02-07 09:02:18 +0100
commit26469f9ed85f5e7d67ccecaa820f33e37179b76a (patch)
tree6d55391c2839cb3aee70d726ac62ef22c3ea0950 /server/initializers/constants.ts
parent99d362de0c8de3c6ff5a865ecb8dd5b690140a47 (diff)
downloadPeerTube-26469f9ed85f5e7d67ccecaa820f33e37179b76a.tar.gz
PeerTube-26469f9ed85f5e7d67ccecaa820f33e37179b76a.tar.zst
PeerTube-26469f9ed85f5e7d67ccecaa820f33e37179b76a.zip
Correctly fix octet stream fallback for video ext
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 8f5c1df1d..13e32b6d2 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -795,6 +795,8 @@ function buildVideoMimetypeExt () {
795 'video/x-matroska': '.mkv', 795 'video/x-matroska': '.mkv',
796 'video/avi': '.avi', 796 'video/avi': '.avi',
797 'video/x-m4v': '.m4v', 797 'video/x-m4v': '.m4v',
798 // Could be anything
799 'application/octet-stream': null,
798 'video/m4v': '.m4v' 800 'video/m4v': '.m4v'
799 }) 801 })
800 } 802 }