update with dashboard data

This commit is contained in:
BIG2EYEZ committed 2024-01-09 17:34:16 +08:00
1 parent d1d3091eec
commit 8a66068b98
4 files changed
+295 -31

No files matched your search

+9 -2
View File
@@ -40,7 +40,14 @@ const connection = mysql.createConnection({
timezone: "Z", // Set the timezone to UTC
});
module.exports = { connection };
const connection2 = mysql.createConnection({
host: process.env.host,
user: process.env.DB_USER,
password: process.env.DB_PASS,
database: "eco_saver",
timezone: "Z", // Set the timezone to UTC
});
module.exports = { connection,connection2 };