From 12a90e20749471c1f2c794792f6b1fabcb74d13e Mon Sep 17 00:00:00 2001 From: ORelio Date: Fri, 19 Jan 2024 21:30:06 +0100 Subject: [PATCH] Utils: Add Webp MIME type (#3900) --- lib/utils.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils.php b/lib/utils.php index e8f00f54..07806e7c 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -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', ];