Merge pull request #150 from alexandrestein/master

Update download names file for weak clients
pull/739/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export default {
return this.$route.params.pathMatch return this.$route.params.pathMatch
}, },
link: function () { link: function () {
return `${baseURL}/api/public/dl/${this.hash}` return `${baseURL}/api/public/dl/${this.hash}/${encodeURI(this.file.name)}`
}, },
fullLink: function () { fullLink: function () {
return window.location.origin + this.link return window.location.origin + this.link