aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/initializers/constants.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 0476815f4..cb1c6f2ae 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -406,6 +406,9 @@ const MIMETYPES = {
406 'audio/mp3': '.mp3', 406 'audio/mp3': '.mp3',
407 'application/ogg': '.ogg', 407 'application/ogg': '.ogg',
408 'audio/ogg': '.ogg', 408 'audio/ogg': '.ogg',
409 'audio/x-ms-wma': '.wma',
410 'audio/wav': '.wav',
411 'audio/x-flac': '.flac',
409 'audio/flac': '.flac' 412 'audio/flac': '.flac'
410 }, 413 },
411 EXT_MIMETYPE: null as { [ id: string ]: string } 414 EXT_MIMETYPE: null as { [ id: string ]: string }
@@ -797,6 +800,8 @@ function buildVideoMimetypeExt () {
797 'video/x-matroska': '.mkv', 800 'video/x-matroska': '.mkv',
798 'video/avi': '.avi', 801 'video/avi': '.avi',
799 'video/x-m4v': '.m4v', 802 'video/x-m4v': '.m4v',
803 // Could be anything
804 'application/octet-stream': null,
800 'video/m4v': '.m4v' 805 'video/m4v': '.m4v'
801 }) 806 })
802 } 807 }