diff --git a/src/client/web/src/components/panel_files.tsx b/src/client/web/src/components/panel_files.tsx index 2b1c03d..5f5e829 100644 --- a/src/client/web/src/components/panel_files.tsx +++ b/src/client/web/src/components/panel_files.tsx @@ -619,7 +619,7 @@ export class FilesPanel extends React.Component { ); - const absDownloadURL = `${document.location.protocol}//${document.location.hostname}${downloadPath}`; + const absDownloadURL = `${document.location.protocol}//${document.location.hostname}:${document.location.port}${downloadPath}`; const pathTitle = this.props.msg.pkg.get("item.downloadURL"); const modTimeTitle = this.props.msg.pkg.get("item.modTime"); const sizeTitle = this.props.msg.pkg.get("item.size");