fix(fe/files_panel): download qr code doesn't contain port
This commit is contained in:
parent
e019eb7293
commit
b66b29624a
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
|||
</div>
|
||||
);
|
||||
|
||||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue