update db

This commit is contained in:
shoopea
2024-11-16 12:31:54 +01:00
parent 8046a5cd15
commit 323b050cfc
2 changed files with 2 additions and 1 deletions

2
db.js
View File

@@ -1,7 +1,7 @@
const Database = require('better-sqlite3');
const bcrypt = require('bcrypt');
const better_sqlite_client = new Database('cspanel.db');
const better_sqlite_client = new Database('./db/cspanel.db');
better_sqlite_client.exec(`
CREATE TABLE IF NOT EXISTS servers (