Fix double slashes on preview url

This commit is contained in:
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']),
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}`