summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 02:28:24 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 02:28:24 -0400
commit828c89de996c328bb3759d90be8a8a35b4d9cdc0 (patch)
treebc0c01f6fb9905892439e8b0eb3aaa76cd01eacf /web.go
parent631deb2e7d52d474469382c497878bde9083cb60 (diff)
downloadgitea-828c89de996c328bb3759d90be8a8a35b4d9cdc0.tar.gz
gitea-828c89de996c328bb3759d90be8a8a35b4d9cdc0.zip
Clean code
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/web.go b/web.go
index 3f0e0ef7e2..b7138120a3 100644
--- a/web.go
+++ b/web.go
@@ -74,8 +74,6 @@ func runWeb(*cli.Context) {
middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Single)
m.Get("/:username/:reponame", middleware.SignInRequire(false), middleware.RepoAssignment(true), 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"))