From 72f07b4e75da254d8c3020c3a929a2e500e3585c Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Fri, 22 Jan 2021 10:04:49 +0100 Subject: [PATCH] added image/webp to allowed content-types --- app/Http/Controllers/ProxyController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProxyController.php b/app/Http/Controllers/ProxyController.php index 2a409fd..4ced01a 100644 --- a/app/Http/Controllers/ProxyController.php +++ b/app/Http/Controllers/ProxyController.php @@ -260,6 +260,8 @@ class ProxyController extends Controller case 'image/png': case 'image/jpeg': case 'image/gif': + case 'image/webp': + case 'image/vnd.microsoft.icon': case 'application/font-woff': case 'application/x-font-woff': case 'application/x-empty': @@ -269,7 +271,6 @@ class ProxyController extends Controller case 'text/plain': case 'image/x-icon': case 'font/eot': - case 'image/vnd.microsoft.icon': case 'application/vnd.ms-fontobject': case 'application/x-font-ttf': case 'application/x-www-form-urlencoded': -- GitLab