WebHost: flask caching doesn't do lazy init anymore (#2155)

This commit is contained in:
Fabian Dill
2023-09-09 05:02:05 +02:00
committed by GitHub
parent 5368451867
commit 2b9e8fa273
2 changed files with 4 additions and 3 deletions

View File

@@ -49,11 +49,11 @@ app.config["PONY"] = {
'create_db': True
}
app.config["MAX_ROLL"] = 20
app.config["CACHE_TYPE"] = "flask_caching.backends.SimpleCache"
app.config["CACHE_TYPE"] = "SimpleCache"
app.config["JSON_AS_ASCII"] = False
app.config["HOST_ADDRESS"] = ""
cache = Cache(app)
cache = Cache()
Compress(app)