mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
repair download link bug (#3858)
This commit is contained in:
@@ -154,7 +154,7 @@ class GenerateShareLink extends React.Component {
|
||||
}
|
||||
|
||||
onCopyDownloadLink = () => {
|
||||
let downloadLink = this.state.sharedLinkInfo.link + '?dl';
|
||||
let downloadLink = this.state.sharedLinkInfo.link + '?dl=1';
|
||||
copy(downloadLink);
|
||||
toaster.success(gettext('Direct download link is copied to the clipboard.'));
|
||||
this.props.closeShareDialog();
|
||||
|
Reference in New Issue
Block a user