1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 03:14:37 +01:00

#3521 fix wiki HTTP/S clone URL does not have .wiki suffix

This commit is contained in:
Unknwon 2016-08-27 12:29:52 -07:00
parent 13a8823bd3
commit ce1e4348da

@ -547,7 +547,7 @@ func (repo *Repository) cloneLink(isWiki bool) *CloneLink {
} else {
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
}