diff --git a/web/assets/js/bs5.fileBin.js b/web/assets/js/bs5.fileBin.js index 0e371aa4..e4c115ec 100644 --- a/web/assets/js/bs5.fileBin.js +++ b/web/assets/js/bs5.fileBin.js @@ -75,6 +75,7 @@ $(document).ready(function(e){ } ], data: data.files.map((file) => { + var href = getApiPrefix('fileBin') + '/' + selectedMonitor + '/' + file.name return { monitorName: `${loadedMonitors[file.mid]?.name || file.mid}`, name: file.name, @@ -85,8 +86,8 @@ $(document).ready(function(e){ `, size: convertKbToHumanSize(file.size), buttons: ` - - ${file.details.video ? `` : ``} + + ${file.details.video ? `` : ``} `, } })