mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:35:35 +03:00
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
This commit is contained in:
parent
13a8823bd3
commit
ce1e4348da
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ func (repo *Repository) cloneLink(isWiki bool) *CloneLink {
|
||||||
} else {
|
} else {
|
||||||
cl.SSH = fmt.Sprintf("%s@%s:%s/%s.git", setting.RunUser, setting.SSH.Domain, repo.Owner.Name, repoName)
|
cl.SSH = fmt.Sprintf("%s@%s:%s/%s.git", setting.RunUser, setting.SSH.Domain, repo.Owner.Name, repoName)
|
||||||
}
|
}
|
||||||
cl.HTTPS = ComposeHTTPSCloneURL(repo.Owner.Name, repo.Name)
|
cl.HTTPS = ComposeHTTPSCloneURL(repo.Owner.Name, repoName)
|
||||||
return cl
|
return cl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue