From 99d362de0c8de3c6ff5a865ecb8dd5b690140a47 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Feb 2020 08:51:28 +0100 Subject: Support wma and wav audio files --- server/initializers/constants.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/initializers') 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 = { 'audio/mp3': '.mp3', 'application/ogg': '.ogg', 'audio/ogg': '.ogg', + 'audio/x-ms-wma': '.wma', + 'audio/wav': '.wav', + 'audio/x-flac': '.flac', 'audio/flac': '.flac' }, EXT_MIMETYPE: null as { [ id: string ]: string } -- cgit v1.2.3