diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-09 16:09:41 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-09 16:09:41 +0100 |
commit | 87a88931b6307aac9992412bf9cdf71fb31cadcc (patch) | |
tree | 3ebfa65f50409e68ab21a670aff89293ec2f5a19 | |
parent | 64cfb30a85eff8e4077a7253d135b781a3511166 (diff) | |
download | tricot-87a88931b6307aac9992412bf9cdf71fb31cadcc.tar.gz tricot-87a88931b6307aac9992412bf9cdf71fb31cadcc.zip |
add compressed format
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index ffaa820..ee95fa6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,7 +67,7 @@ struct Opt { #[structopt( long = "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, } |