update app_auto_back backupfile route

This commit is contained in:
Chill
2024-06-07 10:47:20 +08:00
parent afb6535d02
commit 654b308285
3 changed files with 4 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ class DbBackup(models.Model):
rec.backup_details_ids.create({
'name': bkp_file,
'file_path': file_path,
'url': '/download/backupfile/%s' % file_path,
'url': '/dbbackup/download%s' % file_path,
'db_backup_id': rec.id,
})
except Exception as error: