mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
add-download-url (#6771)
* add-download-url * update unitest * update * update * update * update * Update test_view_lib_file.py * code-optimize * Update shared-dir-view.js * code-optimize
This commit is contained in:
@@ -326,7 +326,8 @@ class SharedDirView extends React.Component {
|
||||
'name': name,
|
||||
'url': fileURL,
|
||||
'thumbnail': `${siteRoot}thumbnail/${repoID}/${thumbnailSizeForOriginal}${item.file_path}`,
|
||||
'src': src
|
||||
'src': src,
|
||||
'downloadURL': fileURL + '&dl=1',
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user