Update __init__.py

This commit is contained in:
dami 2026-04-04 22:25:03 +08:00
parent 67ed60731b
commit f97dd9747f
1 changed files with 3 additions and 2 deletions

View File

@ -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)
# 缓存配置