1
0

fix: incorrect path in dump script

This commit is contained in:
alikia2x (寒寒) 2026-01-07 16:13:05 +08:00
parent 642ef17e44
commit a6c472994d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 56209E0CCD8420C6

View File

@ -45,7 +45,7 @@ async function runBackup() {
const dayStr = getDayStr();
const monthStr = getMonthStr();
const fileName = `cvsa_${dayStr}.dump`;
const filePath = `${CONFIG.localBackupDir}/${fileName}.dump`;
const filePath = `${CONFIG.localBackupDir}/${fileName}`;
const localDumpfile = Bun.file(filePath);
logger.log(`Starting backup...`);