From d3f23a8eeb3b0b7198ae4c06879227b467fcfaa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 6 Feb 2024 01:35:17 +0100 Subject: [PATCH] improved list --- modules/caddyhttp/encode/encode.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go index d9e07696..c950d12d 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*",