aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-07 08:51:28 +0100
committerChocobozzz <me@florianbigard.com>2020-02-07 09:02:04 +0100
commit99d362de0c8de3c6ff5a865ecb8dd5b690140a47 (patch)
tree184b4f010c18a0d2bd398b566ab098cd312341f9 /server/initializers/constants.ts
parentbc053fb3037fe1598a190dee057051e77f0b4a05 (diff)
downloadPeerTube-99d362de0c8de3c6ff5a865ecb8dd5b690140a47.tar.gz
PeerTube-99d362de0c8de3c6ff5a865ecb8dd5b690140a47.tar.zst
PeerTube-99d362de0c8de3c6ff5a865ecb8dd5b690140a47.zip
Support wma and wav audio files
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index e4b8a8eca..8f5c1df1d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -403,6 +403,9 @@ const MIMETYPES = {
403 'audio/mp3': '.mp3', 403 'audio/mp3': '.mp3',
404 'application/ogg': '.ogg', 404 'application/ogg': '.ogg',
405 'audio/ogg': '.ogg', 405 'audio/ogg': '.ogg',
406 'audio/x-ms-wma': '.wma',
407 'audio/wav': '.wav',
408 'audio/x-flac': '.flac',
406 'audio/flac': '.flac' 409 'audio/flac': '.flac'
407 }, 410 },
408 EXT_MIMETYPE: null as { [ id: string ]: string } 411 EXT_MIMETYPE: null as { [ id: string ]: string }