fix: bug with inlineLink not creating url properly (#1515)

This commit is contained in:
Andrew Kennedy
2021-08-26 12:43:37 +02:00
committed by GitHub
parent 7f0673ee70
commit 43a460993c
+1 -1
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;
},