Update download names file for weak clients

This commit is contained in:
Alexandre Stein 2019-05-13 16:43:40 +02:00
parent 633579e738
commit b991c65d8b

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