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

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