modified the ConfigDownload class to download the config zip

This commit is contained in:
sanjayk03-dev
2024-06-07 05:41:45 +05:30
parent 98914ffd9e
commit 4a526e0012
2 changed files with 57 additions and 37 deletions

View File

@@ -48,7 +48,7 @@ module.exports = {
methods: {
backup: function() {
document.getElementById("download-target").src = "/api/config/download";
document.getElementById("download-target").src = "/api/config/download/"+ this.state.macros_list.map(item => item.file_name).join(",");
},
restore_config: function() {