From d7941fd379f9977172aa10783cb74bd51f570821 Mon Sep 17 00:00:00 2001 From: kevinkk525 Date: Sat, 6 Feb 2016 01:35:27 +0100 Subject: [PATCH] Changed mp3 file type to support real .mp3 files Fixes issue of receiving a link to download the .mp3 files instead of offering a direct media download. --- mod_http_upload/src/mod_http_upload.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_http_upload/src/mod_http_upload.erl b/mod_http_upload/src/mod_http_upload.erl index 4e451eb..74f46ec 100644 --- a/mod_http_upload/src/mod_http_upload.erl +++ b/mod_http_upload/src/mod_http_upload.erl @@ -28,7 +28,7 @@ {<<".gz">>, <<"application/x-gzip">>}, {<<".jpeg">>, <<"image/jpeg">>}, {<<".jpg">>, <<"image/jpeg">>}, - {<<".mp3">>, <<"audio/mpeg">>}, + {<<".mp3">>, <<"audio/mp3">>}, {<<".mp4">>, <<"video/mp4">>}, {<<".mpeg">>, <<"video/mpeg">>}, {<<".mpg">>, <<"video/mpeg">>},