From 517f51d52efe4aa2060684eb53cbc4c220a774e1 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 9 Jun 2023 22:54:01 +0200 Subject: [PATCH] session fix? --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ef16a90..279ef8c 100644 --- a/main.py +++ b/main.py @@ -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)