aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKévin Dunglas <[email protected]>2024-02-06 01:35:17 +0100
committerKévin Dunglas <[email protected]>2024-02-09 09:35:55 +0100
commitd3f23a8eeb3b0b7198ae4c06879227b467fcfaa6 (patch)
tree75294a4cc9558e176a87415e397d39cf699447d9
parent60abd72c7ab1c90a52fcc079186046910731dc7b (diff)
downloadcaddy-d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6.tar.gz
caddy-d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6.zip
improved list
-rw-r--r--modules/caddyhttp/encode/encode.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go
index d9e076963..c950d12d9 100644
--- a/modules/caddyhttp/encode/encode.go
+++ b/modules/caddyhttp/encode/encode.go
@@ -92,12 +92,9 @@ func (enc *Encode) Provision(ctx caddy.Context) error {
"application/atom+xml*",
"application/eot*",
"application/font*",
- "application/font-sfnt*",
- "application/font-woff*",
"application/geo+json*",
"application/graphql+json*",
"application/javascript*",
- "application/javascript-binast*",
"application/json*",
"application/ld+json*",
"application/manifest+json*",
@@ -118,9 +115,7 @@ func (enc *Encode) Provision(ctx caddy.Context) error {
"application/x-ttf*",
"application/xhtml+xml*",
"application/xml*",
- "font/otf*",
- "font/ttf*",
- "font/x-woff*",
+ "font/*",
"image/svg+xml*",
"image/vnd.microsoft.icon*",
"image/x-icon*",