This commit is contained in:
Mekan1206
2026-06-02 15:21:37 +05:00
parent 7c838bbb6c
commit 87b3715774

2
db.js
View File

@@ -18,7 +18,7 @@ const db = new sqlite3.Database(dbPath, (err) => {
console.error('Error creating devices table', err);
} else {
// Insert a default device for testing if it doesn't exist
db.run(`INSERT OR IGNORE INTO devices (login, password) VALUES ('admin', 'admin123')`);
db.run(`INSERT OR IGNORE INTO devices (login, password) VALUES ('daragt', 'daragt4740')`);
}
});