Skip to content

Commit 0cfca05

Browse files
author
committed
Update documentation [skip ci]
1 parent 12999e7 commit 0cfca05

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
0 Bytes
Binary file not shown.

_static/link_gen/link.js

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch) {
1414
url.searchParams.set('branch', branch);
1515
}
1616

17+
if (!url.pathname.endsWith('/')) {
18+
url.pathname += '/'
19+
}
1720
url.pathname += 'hub/user-redirect/git-pull';
1821

1922
return url.toString();

0 commit comments

Comments
 (0)