diff --git a/app/src/Download.vue b/app/src/Download.vue index eba43da..98c2d9e 100644 --- a/app/src/Download.vue +++ b/app/src/Download.vue @@ -117,7 +117,10 @@ alert('One-Time Download: File is not available anymore.'); return; } - document.location.href = file.url; + const aEl = document.createElement('a'); + aEl.setAttribute('href', file.url); + aEl.setAttribute('download', file.metadata.name); + aEl.click(); file.downloaded = true; },