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

This commit is contained in:
advplyr 2023-06-27 16:41:32 -05:00
parent 5b0d105e21
commit aeba7674f8
5 changed files with 33 additions and 17 deletions

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)