diff --git a/src/views/Share.vue b/src/views/Share.vue index b8219570..bbc15d75 100644 --- a/src/views/Share.vue +++ b/src/views/Share.vue @@ -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