Fix double slashes on preview url
Former-commit-id: e4cdb6d134416c7c58f2d116a49ef797dd9687f3 [formerly 8e259c6936338c52320be7acfd1076b31bf503a0] [formerly 37ade3e2ffe4e5864fb70e29de1605f452632b86 [formerly 856c2be9cd7840bee61e7fa669e87b88dc8e74a2]] Former-commit-id: e0d5ae06de873879df95f01af7693d322146ec9a [formerly 3100eef3544b8132c3b40a237153fad7ed92a657] Former-commit-id: 80b3af649643751b2be9eb6be6bf855a86dacaee
This commit is contained in:
parent
c5b8aee22f
commit
ed26478467
|
@ -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