From cd695e50246ed0c82305d62922178d8053fad06c Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 4 Apr 2026 22:37:01 +0800 Subject: [PATCH] Update __init__.py --- web/admin/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/admin/__init__.py b/web/admin/__init__.py index bd4c58337..a4d464fbc 100644 --- a/web/admin/__init__.py +++ b/web/admin/__init__.py @@ -46,9 +46,8 @@ setup.init() app = Flask(__name__, template_folder='templates/default') -# curl --compressed -I "http://127.0.0.1:51710/" -H "Accept-Encoding: zstd" --write-out "%{json}" -# "gzip", "deflate" -app.config["COMPRESS_ALGORITHM"] = ["zstd", "br"] +# curl --compressed -I "http://127.0.0.1:44010/" -H "Accept-Encoding: gzip" --write-out "%{json}" +app.config["COMPRESS_ALGORITHM"] = ["zstd", "br", "gzip", "deflate"] Compress(app) # 缓存配置