Commit 47f31f71 authored by nanahira's avatar nanahira

fix redis

parent ea39a947
......@@ -23,7 +23,7 @@ client = MongoClient(host=config.MONGO['host'])
app.secret_key = config.SECRET_KEY
app.config['SESSION_TYPE'] = 'redis'
app.cache = Cache(app, config=config.REDIS)
app.cache = Cache(app, config.REDIS)
sess = Session()
sess.init_app(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