mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
fix shared dir image thumbnail not load (#6873)
This commit is contained in:
@@ -325,7 +325,7 @@ class SharedDirView extends React.Component {
|
|||||||
return {
|
return {
|
||||||
'name': name,
|
'name': name,
|
||||||
'url': fileURL,
|
'url': fileURL,
|
||||||
'thumbnail': `${siteRoot}thumbnail/${repoID}/${thumbnailSizeForOriginal}${item.file_path}`,
|
'thumbnail': `${siteRoot}thumbnail/${token}/${thumbnailSizeForOriginal}${Utils.encodePath(item.file_path)}`,
|
||||||
'src': src,
|
'src': src,
|
||||||
'downloadURL': fileURL + '&dl=1',
|
'downloadURL': fileURL + '&dl=1',
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user