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

This commit is contained in:
Andrew Kennedy 2021-08-26 03:43:37 -07:00 committed by GitHub
parent 7f0673ee70
commit 43a460993c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
},