diff options
author | Kévin Dunglas <[email protected]> | 2024-02-06 01:35:17 +0100 |
---|---|---|
committer | Kévin Dunglas <[email protected]> | 2024-02-09 09:35:55 +0100 |
commit | d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6 (patch) | |
tree | 75294a4cc9558e176a87415e397d39cf699447d9 | |
parent | 60abd72c7ab1c90a52fcc079186046910731dc7b (diff) | |
download | caddy-d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6.tar.gz caddy-d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6.zip |
improved list
-rw-r--r-- | modules/caddyhttp/encode/encode.go | 7 |
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*", |