Skip to content

Commit

Permalink
Merge pull request filebrowser#150 from alexandrestein/master
Browse files Browse the repository at this point in the history
Update download names file for weak clients
  • Loading branch information
hacdias authored May 14, 2019
2 parents 633579e + b991c65 commit bb0d048
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 bb0d048

Please sign in to comment.