From a4e434b389c41c336c5c25143a6310fb5b8ee4e9 Mon Sep 17 00:00:00 2001 From: Flare Date: Sun, 25 Sep 2016 01:18:31 +0800 Subject: [PATCH] Fixed Typo --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 77232dd34..473e36687 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -481,7 +481,7 @@ func NewContext() { RunUser = Cfg.Section("").Key("RUN_USER").String() - switch mode := Cfg.Section("").Key("RUN_USER").String(); mode { + switch mode := Cfg.Section("").Key("RUN_MODE").String(); mode { case "prod": ProdMode = true case "dev":