summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/FileHelper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Helper/FileHelper.php b/app/Helper/FileHelper.php
index 06589124..69b46f94 100644
--- a/app/Helper/FileHelper.php
+++ b/app/Helper/FileHelper.php
@@ -113,6 +113,8 @@ class FileHelper extends Base
switch (get_file_extension($filename)) {
case 'pdf':
return 'application/pdf';
+ case 'mp3':
+ return 'audio/mpeg';
}
return null;