aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-27 01:05:13 -0600
committerUnknown <joe2010xtmf@163.com>2014-04-27 01:05:13 -0600
commit62d23e91541550d0478c4884696e918a0e818b4f (patch)
tree335e18b41b15a419233e5117d1cbc43fa66f2b5c /routers/install.go
parent59d0e73c3507296b31c8e741b44afc7bfe1eb695 (diff)
downloadgitea-62d23e91541550d0478c4884696e918a0e818b4f.tar.gz
gitea-62d23e91541550d0478c4884696e918a0e818b4f.zip
HTTP no follow and offline mode
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go2
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
}