From 4b5f03b8865bfbc1acc5f6829e19b04801c3e243 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Wed, 20 Jan 2021 20:04:25 +0100 Subject: [PATCH] bugfix: download config files (issue with url build) Signed-off-by: Stefan Dej --- src/components/panels/Settings/ConfigFilesPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panels/Settings/ConfigFilesPanel.vue b/src/components/panels/Settings/ConfigFilesPanel.vue index 0a231dbf..8d3af482 100644 --- a/src/components/panels/Settings/ConfigFilesPanel.vue +++ b/src/components/panels/Settings/ConfigFilesPanel.vue @@ -449,7 +449,7 @@ let filename = (this.currentPath+"/"+this.contextMenu.item.filename); let link = document.createElement("a"); link.download = name; - link.href = '//' + this.hostname + ':' + this.port + '/server/files/' + filename; + link.href = '//' + this.hostname + ':' + this.port + '/server/files' + filename; document.body.appendChild(link); link.click(); document.body.removeChild(link);