aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index cb1c6f2ae..311d371a7 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -422,7 +422,8 @@ const MIMETYPES = {
422 'image/png': '.png', 422 'image/png': '.png',
423 'image/jpg': '.jpg', 423 'image/jpg': '.jpg',
424 'image/jpeg': '.jpg' 424 'image/jpeg': '.jpg'
425 } 425 },
426 EXT_MIMETYPE: null as { [ id: string ]: string }
426 }, 427 },
427 VIDEO_CAPTIONS: { 428 VIDEO_CAPTIONS: {
428 MIMETYPE_EXT: { 429 MIMETYPE_EXT: {
@@ -438,6 +439,7 @@ const MIMETYPES = {
438 } 439 }
439} 440}
440MIMETYPES.AUDIO.EXT_MIMETYPE = invert(MIMETYPES.AUDIO.MIMETYPE_EXT) 441MIMETYPES.AUDIO.EXT_MIMETYPE = invert(MIMETYPES.AUDIO.MIMETYPE_EXT)
442MIMETYPES.IMAGE.EXT_MIMETYPE = invert(MIMETYPES.IMAGE.MIMETYPE_EXT)
441 443
442// --------------------------------------------------------------------------- 444// ---------------------------------------------------------------------------
443 445