1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-16 17:59:25 +08:00

Fix wrong serve command log location and commit repo action

This commit is contained in:
Unknown
2014-03-25 08:53:11 -04:00
parent 09e7e76204
commit 197c4d4a5b
4 changed files with 11 additions and 7 deletions
models
modules
base
middleware
serve.go

@ -73,7 +73,7 @@ func RepoAssignment(redirect bool) martini.Handler {
if base.EnableHttpsClone {
scheme = "https"
}
ctx.Repo.CloneLink.SSH = fmt.Sprintf("git@%s:%s/%s.git", base.Domain, user.LowerName, repo.LowerName)
ctx.Repo.CloneLink.SSH = fmt.Sprintf("%s@%s:%s/%s.git", base.RunUser, base.Domain, user.LowerName, repo.LowerName)
ctx.Repo.CloneLink.HTTPS = fmt.Sprintf("%s://%s/%s/%s.git", scheme, base.Domain, user.LowerName, repo.LowerName)
ctx.Data["IsRepositoryValid"] = true