diff --git a/assets/src/components/Preview.vue b/assets/src/components/Preview.vue index 6ea68650..0257f488 100644 --- a/assets/src/components/Preview.vue +++ b/assets/src/components/Preview.vue @@ -47,7 +47,7 @@ export default { computed: mapState(['req']), methods: { download: function () { - let url = `${this.$store.state.baseURL}/api/download/` + let url = `${this.$store.state.baseURL}/api/download` url += this.req.url.slice(6) url += `?token=${this.$store.state.jwt}`