Update __init__.py

This commit is contained in:
dami
2026-04-04 22:37:01 +08:00
parent f97dd9747f
commit cd695e5024
+2 -3
View File
@@ -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)
# 缓存配置