Skip to content

Commit

Permalink
fix: bug with inlineLink not creating url properly (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-kennedy authored Aug 26, 2021
1 parent 7f0673e commit 43a4609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/Share.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand Down

0 comments on commit 43a4609

Please sign in to comment.