diff --git a/web/admin/__init__.py b/web/admin/__init__.py index 3e8304fcb..bd4c58337 100644 --- a/web/admin/__init__.py +++ b/web/admin/__init__.py @@ -46,8 +46,9 @@ setup.init() app = Flask(__name__, template_folder='templates/default') -# curl --compressed -I "http://127.0.0.1:11809/" -H "Accept-Encoding: zstd" --write-out "%{json}" -app.config["COMPRESS_ALGORITHM"] = ["zstd", "br", "gzip", "deflate"] +# curl --compressed -I "http://127.0.0.1:51710/" -H "Accept-Encoding: zstd" --write-out "%{json}" +# "gzip", "deflate" +app.config["COMPRESS_ALGORITHM"] = ["zstd", "br"] Compress(app) # 缓存配置