mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-28 19:50:23 +02:00
Add new api route for downloading backup, remove static metadata route
This commit is contained in:
parent
5b0d105e21
commit
aeba7674f8
5 changed files with 33 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue