Fix double slashes on preview url

pull/147/head
Henrique Dias 2017-07-19 08:05:01 +01:00
parent 40b31bd291
commit 856c2be9cd
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export default {
computed: mapState(['req']), computed: mapState(['req']),
methods: { methods: {
download: function () { 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 += this.req.url.slice(6)
url += `?token=${this.$store.state.jwt}` url += `?token=${this.$store.state.jwt}`