1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

Change dl to dl=1

This commit is contained in:
zxj96
2019-05-07 18:28:42 +08:00
parent 369888ec1c
commit c94ee98c58

View File

@@ -261,7 +261,7 @@ class GenerateShareLink extends React.Component {
<FormGroup className="mb-0">
<dt className="text-secondary font-weight-normal">{gettext('Direct Download Link:')}</dt>
<dd className="d-flex">
<span>{sharedLinkInfo.link}?dl</span>{' '}
<span>{sharedLinkInfo.link}?dl=1</span>{' '}
{sharedLinkInfo.is_expired ?
<span className="err-message">({gettext('Expired')})</span> :
<span className="far fa-copy action-icon" onClick={this.onCopyDownloadLink}></span>