change session type to file system

This commit is contained in:
2000-Trek 2023-06-09 22:57:59 +02:00
parent 517f51d52e
commit 4f682f75ec

View file

@ -14,7 +14,7 @@ c = conn.cursor()
app = Flask(__name__) app = Flask(__name__)
key = str(uuid.uuid4().hex) key = str(uuid.uuid4().hex)
app.config['SESSION_TYPE'] = 'redis' app.config['SESSION_TYPE'] = 'filesystem'
print(key) print(key)
app.config['SECRET_KEY'] = key app.config['SECRET_KEY'] = key
Session(app) Session(app)