Skip to content

Commit

Permalink
fix: bug with inlineLink not creating url properly (filebrowser#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-kennedy authored and Rahul committed Sep 2, 2022
1 parent dbf61b7 commit 2c1904e
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 2c1904e

Please sign in to comment.