内容压缩增加默认内容长度限制

This commit is contained in:
刘祥超
2022-12-30 14:37:50 +08:00
parent 837bf25f7b
commit 159b308f31

View File

@@ -20,8 +20,8 @@ Vue.component("http-compression-config-box", {
gzipRef: null,
deflateRef: null,
brotliRef: null,
minLength: {count: 0, "unit": "kb"},
maxLength: {count: 0, "unit": "kb"},
minLength: {count: 1, "unit": "kb"},
maxLength: {count: 32, "unit": "mb"},
mimeTypes: ["text/*", "application/javascript", "application/json", "application/atom+xml", "application/rss+xml", "application/xhtml+xml", "font/*", "image/svg+xml"],
extensions: [".js", ".json", ".html", ".htm", ".xml", ".css", ".woff2", ".txt"],
exceptExtensions: [".apk", ".ipa"],