encode: Don't compress already-compressed fonts (#6432)

* fix: don't compress already compressed fonts

* fix: remove WOFF
This commit is contained in:
Kévin Dunglas 2024-07-04 22:57:13 +02:00 committed by GitHub
parent f350e001b6
commit 15d986e1c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,8 @@ func (enc *Encode) Provision(ctx caddy.Context) error {
"application/x-ttf*",
"application/xhtml+xml*",
"application/xml*",
"font/*",
"font/ttf*",
"font/otf*",
"image/svg+xml*",
"image/vnd.microsoft.icon*",
"image/x-icon*",