backups: put the dashboard domain in the backup config

This commit is contained in:
Girish Ramakrishnan
2023-07-24 21:31:02 +05:30
parent c3574614bc
commit febac9e8ca

View File

@@ -301,7 +301,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
if ($scope.backupConfig[k] !== SECRET_PLACEHOLDER) tmp[k] = $scope.backupConfig[k];
});
var filename = 'cloudron-backup-config-' + (new Date()).toISOString().replace(/:|T/g,'-').replace(/\..*/,'') + '.json';
var filename = 'cloudron-backup-config-' + (new Date()).toISOString().replace(/:|T/g,'-').replace(/\..*/,'') + ' (' + $scope.config.adminFqdn + ')' + '.json';
download(filename, JSON.stringify(tmp, null, 4));
};