1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

feat: draft due to github connect

This commit is contained in:
er-pai-r
2023-07-06 14:56:31 +08:00
parent 6584582182
commit c2049d274e
9 changed files with 290 additions and 2 deletions

View File

@@ -1543,6 +1543,11 @@ export const Utils = {
generateHistoryURL: function(siteRoot, repoID, path) {
if (!siteRoot || !repoID || !path) return '';
return siteRoot + 'repo/file_revisions/' + repoID + '/?p=' + this.encodePath(path);
},
generateRevisionURL: function(siteRoot, repoID, path) {
if (!siteRoot || !repoID || !path) return '';
return siteRoot + 'repo/sdoc_revision/' + repoID + '/?p=' + this.encodePath(path);
}
};