mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 14:13:48 +03:00
encode: Don't compress already-compressed fonts (#6432)
* fix: don't compress already compressed fonts * fix: remove WOFF
This commit is contained in:
parent
f350e001b6
commit
15d986e1c9
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ func (enc *Encode) Provision(ctx caddy.Context) error {
|
||||||
"application/x-ttf*",
|
"application/x-ttf*",
|
||||||
"application/xhtml+xml*",
|
"application/xhtml+xml*",
|
||||||
"application/xml*",
|
"application/xml*",
|
||||||
"font/*",
|
"font/ttf*",
|
||||||
|
"font/otf*",
|
||||||
"image/svg+xml*",
|
"image/svg+xml*",
|
||||||
"image/vnd.microsoft.icon*",
|
"image/vnd.microsoft.icon*",
|
||||||
"image/x-icon*",
|
"image/x-icon*",
|
||||||
|
|
Loading…
Reference in a new issue