mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update __init__.py
This commit is contained in:
@@ -46,7 +46,7 @@ setup.init()
|
|||||||
app = Flask(__name__, template_folder='templates/default')
|
app = Flask(__name__, template_folder='templates/default')
|
||||||
|
|
||||||
|
|
||||||
# curl --compressed -I "http://127.0.0.1:44010/" -H "Accept-Encoding: gzip" --write-out "%{json}"
|
# curl --compressed -I "http://127.0.0.1:44010/" -H "Accept-Encoding: zstd" --write-out "%{json}"
|
||||||
app.config["COMPRESS_ALGORITHM"] = ["zstd", "br", "gzip", "deflate"]
|
app.config["COMPRESS_ALGORITHM"] = ["zstd", "br", "gzip", "deflate"]
|
||||||
Compress(app)
|
Compress(app)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user