forked from MarseyWorld/MarseyWorld
sfdfsd
parent
a94e002588
commit
e248421d9f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue