Add new api route for downloading backup, remove static metadata route

This commit is contained in:
advplyr committed 2023-06-27 16:41:32 -05:00
1 parent 5b0d105e21
commit aeba7674f8
5 files changed
+33 -17

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class BackupManager {
}
async init() {
var backupsDirExists = await fs.pathExists(this.BackupPath)
const backupsDirExists = await fs.pathExists(this.BackupPath)
if (!backupsDirExists) {
await fs.ensureDir(this.BackupPath)
await filePerms.setDefault(this.BackupPath)