This commit is contained in:
Aevann1 2021-12-21 01:44:56 +02:00
parent d1f36fcea4
commit 3b81f7e78f

View file

@ -18,7 +18,7 @@ from werkzeug.middleware.proxy_fix import ProxyFix
import redis import redis
app = Flask(__name__, template_folder='templates') app = Flask(__name__, template_folder='templates')
app.config["SESSION_TYPE"] = "filesystem" app.config["SESSION_TYPE"] = "redis"
Session(app) Session(app)
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3) app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3)