diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
commit | 62d23e91541550d0478c4884696e918a0e818b4f (patch) | |
tree | 335e18b41b15a419233e5117d1cbc43fa66f2b5c /routers/install.go | |
parent | 59d0e73c3507296b31c8e741b44afc7bfe1eb695 (diff) | |
download | gitea-62d23e91541550d0478c4884696e918a0e818b4f.tar.gz gitea-62d23e91541550d0478c4884696e918a0e818b4f.zip |
HTTP no follow and offline mode
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go index 8ffa9b5d1a..38bf896f4e 100644 --- a/routers/install.go +++ b/routers/install.go @@ -30,7 +30,7 @@ func checkRunMode() { switch base.Cfg.MustValue("", "RUN_MODE") { case "prod": martini.Env = martini.Prod - base.IsProdMode = true + base.ProdMode = true case "test": martini.Env = martini.Test } |