From 8f8e4589c8eb35b54242c0ccc01a82816b91bb20 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 30 Dec 2022 14:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=8E=8B=E7=BC=A9=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=86=85=E5=AE=B9=E9=95=BF=E5=BA=A6?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/components/server/http-compression-config-box.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/public/js/components/server/http-compression-config-box.js b/web/public/js/components/server/http-compression-config-box.js index 74e608ca..53cfb5ba 100644 --- a/web/public/js/components/server/http-compression-config-box.js +++ b/web/public/js/components/server/http-compression-config-box.js @@ -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"],