fix: bug with inlineLink not creating url properly (#1515)
parent
7f0673ee70
commit
43a460993c
|
@ -240,7 +240,7 @@ export default {
|
||||||
return `${baseURL}/api/public/dl/${path}${queryArg}`;
|
return `${baseURL}/api/public/dl/${path}${queryArg}`;
|
||||||
},
|
},
|
||||||
inlineLink: function () {
|
inlineLink: function () {
|
||||||
let url = new URL(this.link);
|
let url = new URL(this.fullLink);
|
||||||
url.searchParams.set("inline", "true");
|
url.searchParams.set("inline", "true");
|
||||||
return url.href;
|
return url.href;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue