From 60abd72c7ab1c90a52fcc079186046910731dc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 5 Feb 2024 08:29:43 +0100 Subject: [PATCH] fix: add back text/* --- modules/caddyhttp/encode/encode.go | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go index 7fce733681e..d9e076963cf 100644 --- a/modules/caddyhttp/encode/encode.go +++ b/modules/caddyhttp/encode/encode.go @@ -126,17 +126,7 @@ func (enc *Encode) Provision(ctx caddy.Context) error { "image/x-icon*", "multipart/bag*", "multipart/mixed*", - "text/css*", - "text/javascript*", - "text/js*", - "text/plain*", - "text/richtext*", - "text/x-component*", - "text/x-java-source*", - "text/x-markdown*", - "text/x-script*", - "text/xml*", - "text/html*", + "text/*", }, }, }