Improve readability of backup configs JSON
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user