diff options
author | Kévin Dunglas <[email protected]> | 2024-02-05 08:29:43 +0100 |
---|---|---|
committer | Kévin Dunglas <[email protected]> | 2024-02-09 09:35:55 +0100 |
commit | 60abd72c7ab1c90a52fcc079186046910731dc7b (patch) | |
tree | 13b20b18df4328221cd4a7d0dd67b1ee40123c89 | |
parent | b8f729b88fccfd4d5178269df62a56722a37b5d4 (diff) | |
download | caddy-60abd72c7ab1c90a52fcc079186046910731dc7b.tar.gz caddy-60abd72c7ab1c90a52fcc079186046910731dc7b.zip |
fix: add back text/*
-rw-r--r-- | modules/caddyhttp/encode/encode.go | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go index 7fce73368..d9e076963 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/*", }, }, } |