mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 16:15:20 +02:00
[contents] Add MIME type for mp3 (#2809)
Without this, format tests fail on systems without `/etc/mime.types`.
This commit is contained in:
parent
1af6cbeb1e
commit
347f9a3eda
1 changed files with 2 additions and 1 deletions
|
@ -369,7 +369,8 @@ function getMimeType($url) {
|
|||
'jpg' => 'image/jpeg',
|
||||
'gif' => 'image/gif',
|
||||
'png' => 'image/png',
|
||||
'image' => 'image/*'
|
||||
'image' => 'image/*',
|
||||
'mp3' => 'audio/mpeg',
|
||||
);
|
||||
// '@' is used to mute open_basedir warning, see issue #818
|
||||
if (@is_readable('/etc/mime.types')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue