Update __init__.py

This commit is contained in:
dami 2026-04-04 22:13:22 +08:00
parent 976d8a16e4
commit d2c756a08a
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ setup.init()
app = Flask(__name__, template_folder='templates/default')
# curl --compressed -I "http://127.0.0.1:44010/" -H "Accept-Encoding: br" --write-out "%{json}"
app.config["COMPRESS_ALGORITHM"] = ["zstd", "br", "gzip", "deflate"]
Compress(app)