Fix double slashes on preview url
This commit is contained in:
parent
40b31bd291
commit
856c2be9cd
@ -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}`
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user