projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fdeef8
)
Remove octet stream fallback for video extension
author
Chocobozzz
<me@florianbigard.com>
Thu, 6 Feb 2020 16:07:29 +0000
(17:07 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 6 Feb 2020 16:07:29 +0000
(17:07 +0100)
It could be a FLAC file for example
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index 68c84f509c1effdbfc539f9a00b8b218b4d046d6..0476815f443e72b4b27a846ac29264d26c36f6ad 100644
(file)
--- a/
server/initializers/constants.ts
+++ b/
server/initializers/constants.ts
@@
-795,7
+795,6
@@
function buildVideoMimetypeExt () {
'video/x-msvideo': '.avi',
'video/x-flv': '.flv',
'video/x-matroska': '.mkv',
- 'application/octet-stream': '.mkv',
'video/avi': '.avi',
'video/x-m4v': '.m4v',
'video/m4v': '.m4v'