forked from Deuxfleurs/tricot
add compressed format
This commit is contained in:
parent
64cfb30a85
commit
87a88931b6
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue