fix(ui/panel_files): download url contains comma when port is 80/443
This commit is contained in:
parent
2a16b877a2
commit
28b7113d27
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
const absDownloadURL = `${document.location.protocol}//${document.location.hostname}:${document.location.port}${downloadPath}`;
|
const absDownloadURL = `${document.location.protocol}//${document.location.host}${downloadPath}`;
|
||||||
const pathTitle = this.props.msg.pkg.get("item.downloadURL");
|
const pathTitle = this.props.msg.pkg.get("item.downloadURL");
|
||||||
const modTimeTitle = this.props.msg.pkg.get("item.modTime");
|
const modTimeTitle = this.props.msg.pkg.get("item.modTime");
|
||||||
const sizeTitle = this.props.msg.pkg.get("item.size");
|
const sizeTitle = this.props.msg.pkg.get("item.size");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue