Load local MariaDB settings from env

This commit is contained in:
2026-08-05 12:29:38 +02:00
parent 2e7d83b679
commit d7d5c0f912
2 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export async function executeMariaDbWrite(config, sql) {
}
}
async function getPool(config) {
function getPool(config) {
if (!pool) {
pool = mariadb.createPool({
host: config.database.host,