diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-13 02:09:36 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-13 02:09:36 -0400 |
commit | ea765d25e21a5e2ff67ff39891962f5f23facda8 (patch) | |
tree | 10635b6b10b06df8c01b7eba4c9215cd180caf4a /web.go | |
parent | 3005a0f13e8861c79e3ea84ce480124fbc3c181d (diff) | |
download | gitea-ea765d25e21a5e2ff67ff39891962f5f23facda8.tar.gz gitea-ea765d25e21a5e2ff67ff39891962f5f23facda8.zip |
Update action struct
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -30,10 +30,7 @@ var CmdWeb = cli.Command{ Description: ` gogs web`, Action: runWeb, - Flags: []cli.Flag{ - //cli.BoolFlag{"update, u", "update pakcage(s) and dependencies if any"}, - //cli.BoolFlag{"verbose, v", "show process details"}, - }, + Flags: []cli.Flag{}, } var AppHelpers template.FuncMap = map[string]interface{}{ @@ -78,8 +75,6 @@ func runWeb(*cli.Context) { //m.Get("/:username/:reponame", repo.Repo) - //m.Get("/:username/:reponame", repo.Repo) - listenAddr := fmt.Sprintf("%s:%s", base.Cfg.MustValue("server", "HTTP_ADDR"), base.Cfg.MustValue("server", "HTTP_PORT", "3000")) |