Fix bug with inlineLink not creating url properly.

This commit is contained in:
Andrew Kennedy 2021-08-23 03:44:48 -07:00
parent 7f0673ee70
commit 62e37721c5

View File

@ -240,7 +240,7 @@ export default {
return `${baseURL}/api/public/dl/${path}${queryArg}`;
},
inlineLink: function () {
let url = new URL(this.link);
let url = new URL(this.fullLink);
url.searchParams.set("inline", "true");
return url.href;
},