diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-24 15:23:06 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-24 15:23:06 +0100 |
commit | 307902e2b3248073aeb677e420aafd8b5e041117 (patch) | |
tree | 58076eec0c4668b299a1ecb0c5497cd13ca4678a /server/initializers | |
parent | 572b8e02e258bfa921032dee593d3c2f129852b6 (diff) | |
download | PeerTube-307902e2b3248073aeb677e420aafd8b5e041117.tar.gz PeerTube-307902e2b3248073aeb677e420aafd8b5e041117.tar.zst PeerTube-307902e2b3248073aeb677e420aafd8b5e041117.zip |
Try to fix Mac video upload
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 93fdd3f03..6f3ebb9aa 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -795,7 +795,9 @@ function buildVideoMimetypeExt () { | |||
795 | 'video/quicktime': '.mov', | 795 | 'video/quicktime': '.mov', |
796 | 'video/x-msvideo': '.avi', | 796 | 'video/x-msvideo': '.avi', |
797 | 'video/x-flv': '.flv', | 797 | 'video/x-flv': '.flv', |
798 | 'video/x-matroska': '.mkv' | 798 | 'video/x-matroska': '.mkv', |
799 | 'application/octet-stream': '.mkv', | ||
800 | 'video/avi': '.avi' | ||
799 | }) | 801 | }) |
800 | } | 802 | } |
801 | 803 | ||