From 856c2be9cd7840bee61e7fa669e87b88dc8e74a2 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 19 Jul 2017 08:05:01 +0100 Subject: [PATCH] Fix double slashes on preview url --- assets/src/components/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`