From: Unknown Date: Thu, 13 Mar 2014 05:01:28 +0000 (-0400) Subject: Merge branch 'master' of github.com:gogits/gogs X-Git-Tag: v0.9.99~2458^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c960917279d80c6137f7ccd9cc3cf9ed5fee098;p=gitea.git Merge branch 'master' of github.com:gogits/gogs --- 8c960917279d80c6137f7ccd9cc3cf9ed5fee098 diff --cc web.go index 1f34891bc4,c204131662..775735adc6 --- a/web.go +++ b/web.go @@@ -74,9 -73,8 +74,10 @@@ func runWeb(*cli.Context) m.Any("/repo/create", auth.SignInRequire(true), binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create) m.Any("/repo/delete", auth.SignInRequire(true), repo.Delete) m.Any("/repo/list", auth.SignInRequire(false), repo.List) + m.Get("/:username/:reponame", auth.SignInRequire(false), repo.Single) + m.Get("/:username/:reponame", repo.Repo) + listenAddr := fmt.Sprintf("%s:%s", base.Cfg.MustValue("server", "HTTP_ADDR"), base.Cfg.MustValue("server", "HTTP_PORT", "3000"))