master
Aevann1 2021-12-21 01:44:56 +02:00
parent a94e002588
commit e248421d9f
1 changed files with 1 additions and 1 deletions

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)