Skip to content

Commit

Permalink
Update download names file for weak clients
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrestein committed May 13, 2019
1 parent 633579e commit b991c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Share.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
return this.$route.params.pathMatch
},
link: function () {
return `${baseURL}/api/public/dl/${this.hash}`
return `${baseURL}/api/public/dl/${this.hash}/${encodeURI(this.file.name)}`
},
fullLink: function () {
return window.location.origin + this.link
Expand Down

0 comments on commit b991c65

Please sign in to comment.