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

file-download-url-update (#6804)

This commit is contained in:
Ranjiwei
2024-09-20 12:35:42 +08:00
committed by GitHub
parent 404a0e0934
commit 026e66b8ec
6 changed files with 7 additions and 7 deletions

View File

@@ -189,7 +189,7 @@ class DirentListView extends React.Component {
'url': `${siteRoot}lib/${repoID}/file${path}`,
'thumbnail': `${siteRoot}thumbnail/${repoID}/${thumbnailSizeForOriginal}${path}`,
'src': `${siteRoot}repo/${repoID}/raw${path}`,
'downloadURL': `${fileServerRoot}repos/${repoID}/files/?op=download&p=${path}`,
'downloadURL': `${fileServerRoot}repos/${repoID}/files${path}/?op=download`,
};
};