Add: report whether backup path environment is set

This commit is contained in:
Nicholas Wallace 2024-07-05 17:27:49 +00:00
parent b01ef1c691
commit 37f62d22b6
3 changed files with 10 additions and 1 deletions

View file

@ -10,7 +10,8 @@ class BackupController {
getAll(req, res) {
res.json({
backups: this.backupManager.backups.map((b) => b.toJSON()),
backupLocation: this.backupManager.backupPath
backupLocation: this.backupManager.backupPath,
backupEnvSet: this.backupManager.backupPathEnvSet
})
}