mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-03 13:44:09 +01:00
Add new api route for downloading backup, remove static metadata route
This commit is contained in:
1 parent
5b0d105e21
commit
aeba7674f8
5 files changed
+33
-17
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user