Open Ogg file attachments in browser

This commit is contained in:
Frédéric Guillot
2022-09-04 15:22:47 -07:00
committed by Frédéric Guillot
parent 84c7692710
commit 1c8b278116

View File

@@ -127,6 +127,9 @@ class FileHelper extends Base
case 'pdf':
return 'application/pdf';
case 'mp3':
case 'ogg':
case 'flac':
case 'wav':
return 'audio/mpeg';
}