Improve readability of backup configs JSON

This commit is contained in:
Johannes Zellner
2022-02-22 16:28:14 +01:00
parent 30234c5ac1
commit bbc232602f
2 changed files with 2 additions and 2 deletions

View File

@@ -1934,7 +1934,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
});
var filename = 'app-backup-config-' + (new Date()).toISOString().replace(/:|T/g,'-').replace(/\..*/,'') + ' (' + $scope.app.fqdn + ')' + '.json';
download(filename, JSON.stringify(tmp));
download(filename, JSON.stringify(tmp, null, 4));
};
document.getElementById('backupConfigFileInput').onchange = function (event) {