Updated uptime sql errros

This commit is contained in:
Akshay Kolli
2026-02-08 03:20:36 -05:00
parent 6bb3cea2aa
commit f9ad906675
5 changed files with 30 additions and 11 deletions

View File

@@ -12,8 +12,10 @@ const SERVICES = [
async function monitor() {
console.log('Starting monitoring loop...');
const dbPath = process.env.DB_PATH || './dashboard.db';
const db = await open({
filename: './dashboard.db',
filename: dbPath,
driver: sqlite3.Database
});