Skip to content

Commit

Permalink
Fix download extension type (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontp authored Oct 5, 2023
1 parent a598c7d commit 82108ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/RequestList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default {
const downloadObj = window.URL.createObjectURL(new Blob([data]))
const link = document.createElement('a')
link.href = downloadObj
link.setAttribute('download', request_id + '.zip')
link.setAttribute('download', request_id + '.tgz')
document.body.appendChild(link)
link.click()
link.remove()
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/TaskDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default {
const downloadObj = window.URL.createObjectURL(new Blob([data]))
const link = document.createElement('a')
link.href = downloadObj
link.setAttribute('download', task_id + '.zip')
link.setAttribute('download', task_id + '.tgz')
document.body.appendChild(link)
link.click()
link.remove()
Expand Down

0 comments on commit 82108ad

Please sign in to comment.