Skip to content

Commit

Permalink
Utils: Add Webp MIME type (#3900)
Browse files Browse the repository at this point in the history
  • Loading branch information
ORelio authored Jan 19, 2024
1 parent 6408123 commit 12a90e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ function parse_mime_type($url)
'jpg' => 'image/jpeg',
'gif' => 'image/gif',
'png' => 'image/png',
'webp' => 'image/webp',
'image' => 'image/*',
'mp3' => 'audio/mpeg',
];
Expand Down

0 comments on commit 12a90e2

Please sign in to comment.