chore: Switched to env variables and added public build

This commit is contained in:
2025-07-14 21:48:27 +00:00
parent 40a7a2f2d5
commit 0c019fe2a8
26 changed files with 60 additions and 54 deletions
+1 -1
View File
@@ -152,6 +152,6 @@ def init_db(app=None):
cursor.execute('SELECT COUNT(*) FROM User')
if cursor.fetchone()[0] == 0:
cursor.execute('''INSERT INTO User (name, email, password) VALUES (%s, %s, %s)''',
('Jamie Banks', 'jamie@jdbnet.co.uk', hash_password('Drippy-Cavity-Jawline')))
('admin', 'admin@example.com', hash_password('password')))
conn.commit()
conn.close()