mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
fix: bug with inlineLink not creating url properly (#1515)
This commit is contained in:
parent
7f0673ee70
commit
43a460993c
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user