Update __init__.py
This commit is contained in:
parent
67ed60731b
commit
f97dd9747f
|
|
@ -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)
|
||||
|
||||
# 缓存配置
|
||||
|
|
|
|||
Loading…
Reference in New Issue