Open Ogg file attachments in browser
This commit is contained in:
committed by
Frédéric Guillot
parent
84c7692710
commit
1c8b278116
@@ -127,6 +127,9 @@ class FileHelper extends Base
|
||||
case 'pdf':
|
||||
return 'application/pdf';
|
||||
case 'mp3':
|
||||
case 'ogg':
|
||||
case 'flac':
|
||||
case 'wav':
|
||||
return 'audio/mpeg';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user