Merge pull request #150 from alexandrestein/master

Update download names file for weak clients
This commit is contained in:
Henrique Dias 2019-05-14 09:05:47 +01:00 committed by GitHub
commit bb0d048235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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