This commit is contained in:
2026-06-16 19:21:39 +02:00
parent 578a601fae
commit f3750f43c8
2 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export async function runAutoExport() {
console.log('[autoExport] Démarrage de l\'export automatique…');
try {
await db.backup(tmpDb);
db.exec(`VACUUM INTO '${tmpDb.replace(/'/g, "''")}'`);
const dbData = fs.readFileSync(tmpDb);
const now = new Date();