sfdfsd
This commit is contained in:
parent
d1f36fcea4
commit
3b81f7e78f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ from werkzeug.middleware.proxy_fix import ProxyFix
|
|||
import redis
|
||||
|
||||
app = Flask(__name__, template_folder='templates')
|
||||
app.config["SESSION_TYPE"] = "filesystem"
|
||||
app.config["SESSION_TYPE"] = "redis"
|
||||
Session(app)
|
||||
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue