session fix?
This commit is contained in:
parent
f3b00a84c8
commit
517f51d52e
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -16,7 +16,7 @@ app = Flask(__name__)
|
||||||
key = str(uuid.uuid4().hex)
|
key = str(uuid.uuid4().hex)
|
||||||
app.config['SESSION_TYPE'] = 'redis'
|
app.config['SESSION_TYPE'] = 'redis'
|
||||||
print(key)
|
print(key)
|
||||||
app.secret_key = key
|
app.config['SECRET_KEY'] = key
|
||||||
Session(app)
|
Session(app)
|
||||||
socketio = SocketIO(app)
|
socketio = SocketIO(app)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue