session fix?

This commit is contained in:
2000-Trek 2023-06-09 22:54:01 +02:00
parent f3b00a84c8
commit 517f51d52e

View file

@ -16,7 +16,7 @@ app = Flask(__name__)
key = str(uuid.uuid4().hex)
app.config['SESSION_TYPE'] = 'redis'
print(key)
app.secret_key = key
app.config['SECRET_KEY'] = key
Session(app)
socketio = SocketIO(app)