Commit 73a8b435 authored by nanahira's avatar nanahira

Revert "fix"

This reverts commit 2850fddf.
parent 2850fddf
...@@ -23,8 +23,7 @@ client = MongoClient(host=config.MONGO['host']) ...@@ -23,8 +23,7 @@ client = MongoClient(host=config.MONGO['host'])
app.secret_key = config.SECRET_KEY app.secret_key = config.SECRET_KEY
app.config['SESSION_TYPE'] = 'redis' app.config['SESSION_TYPE'] = 'redis'
app.cache = Cache() app.cache = Cache(app, config=config.REDIS)
app.cache.init_app(app, config=config.REDIS)
sess = Session() sess = Session()
sess.init_app(app) sess.init_app(app)
csrf = CSRFProtect(app) csrf = CSRFProtect(app)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment