From 7d3b218e247f9eb4d51a578e9bc321a88a886fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 27 Jun 2022 22:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81ZSTD=E5=8E=8B=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/components/server/http-compression-config-box.js | 9 +++++++-- 1 file changed, 7 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 024744bc..43619820 100644 --- a/web/public/js/components/server/http-compression-config-box.js +++ b/web/public/js/components/server/http-compression-config-box.js @@ -14,7 +14,7 @@ Vue.component("http-compression-config-box", { isPrior: false, isOn: false, useDefaultTypes: true, - types: ["brotli", "gzip", "deflate"], + types: ["brotli", "gzip", "zstd", "deflate"], level: 5, decompressData: false, gzipRef: null, @@ -53,6 +53,11 @@ Vue.component("http-compression-config-box", { name: "Brotli", code: "brotli", isOn: true + }, + { + name: "ZSTD", + code: "zstd", + isOn: true } ] @@ -189,7 +194,7 @@ Vue.component("http-compression-config-box", {
- +