add compressed format

This commit is contained in:
Alex 2021-12-09 16:09:41 +01:00
parent 64cfb30a85
commit 87a88931b6
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -67,7 +67,7 @@ struct Opt {
#[structopt( #[structopt(
long = "compress-mime-types", long = "compress-mime-types",
env = "TRICOT_COMPRESS_MIME_TYPES", env = "TRICOT_COMPRESS_MIME_TYPES",
default_value = "text/html,text/plain,text/css,text/javascript,application/javascript,image/svg+xml,font/ttf" default_value = "text/html,text/plain,text/css,text/javascript,text/xml,application/javascript,application/json,application/xml,image/svg+xml,font/ttf"
)] )]
pub compress_mime_types: String, pub compress_mime_types: String,
} }