From ac3b26f9f56e4aa94f41373c8ce0a9ba2a2accf0 Mon Sep 17 00:00:00 2001 From: vulpine Date: Tue, 11 Jan 2022 18:58:28 -0500 Subject: [PATCH] add webp to supported mimetypes --- foxes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/foxes.php b/foxes.php index 6c806e4..9c1e6cb 100644 --- a/foxes.php +++ b/foxes.php @@ -20,6 +20,8 @@ function mime2ext($mime) { 'application/x-binary' => 'bin', 'application/x-macbinary' => 'bin', 'image/bmp' => 'bmp', + 'image/webp' => 'webp', + 'image/x-webp' => 'x-webp', 'image/x-bmp' => 'bmp', 'image/x-bitmap' => 'bmp', 'image/x-xbitmap' => 'bmp',