aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-13 01:03:16 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-13 01:03:16 -0400
commitd093406634f2896459d5abf5c7f6d2fd98c0812b (patch)
tree06dc0741d90258def066d32645a2e2a48b7467b2 /web.go
parent8c960917279d80c6137f7ccd9cc3cf9ed5fee098 (diff)
Fix import path
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web.go b/web.go
index 775735ad..f108b1cf 100644
--- a/web.go
+++ b/web.go
@@ -76,7 +76,7 @@ func runWeb(*cli.Context) {
m.Any("/repo/list", auth.SignInRequire(false), repo.List)
m.Get("/:username/:reponame", auth.SignInRequire(false), repo.Single)
- m.Get("/:username/:reponame", repo.Repo)
+ //m.Get("/:username/:reponame", repo.Repo)
listenAddr := fmt.Sprintf("%s:%s",
base.Cfg.MustValue("server", "HTTP_ADDR"),