From 4d814b45d723523de53c2763d0f6dd859a4f60df Mon Sep 17 00:00:00 2001 From: Miguel Prz Date: Sat, 22 Nov 2025 19:59:05 +0100 Subject: [PATCH] Add support for 'webp' image format --- lib/Mojolicious/Types.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Mojolicious/Types.pm b/lib/Mojolicious/Types.pm index 336e1439a4..a5b741497e 100644 --- a/lib/Mojolicious/Types.pm +++ b/lib/Mojolicious/Types.pm @@ -30,6 +30,7 @@ has mapping => sub { ttf => ['font/ttf'], txt => ['text/plain;charset=UTF-8'], webm => ['video/webm'], + webp => ['image/webp'], woff => ['font/woff'], woff2 => ['font/woff2'], xml => ['application/xml', 'text/xml'],