fix db creation

This commit is contained in:
Francesco De Carlo 2025-08-01 20:56:48 +02:00
parent 58f585b065
commit 248c9bc278
3 changed files with 18 additions and 18 deletions

View file

@ -45,6 +45,6 @@ def join():
return {"success": True, "ws": f"/ws/{room_id}"}
init_db()
if __name__ == "__main__":
init_db()
app.run(debug=True)

View file

@ -2,5 +2,5 @@ import sqlite3
def get_connection():
conn = sqlite3.connect("jukebox.db")
conn = sqlite3.connect(".data/jukebox.db")
return conn