making the sekret key an hex

This commit is contained in:
2000-Trek 2023-06-09 22:26:00 +02:00
parent b6dabd2ad8
commit e1b573e32c

View file

@ -12,7 +12,7 @@ conn = sqlite3.connect(db_path, check_same_thread=False)
c = conn.cursor() c = conn.cursor()
app = Flask(__name__) app = Flask(__name__)
app.secret_key = str(uuid.uuid4()) app.secret_key = uuid.uuid4().hex
socketio = SocketIO(app) socketio = SocketIO(app)