From 84b147c7f0c2575723d3471783cb24078232fe7a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 15 Jan 2021 05:17:03 +0800 Subject: Use IsProd instead of testing if it's equal. (#14336) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath --- routers/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/init.go') diff --git a/routers/init.go b/routers/init.go index ff2ddcc0b7..79e2f9130a 100644 --- a/routers/init.go +++ b/routers/init.go @@ -50,7 +50,7 @@ func checkRunMode() { default: macaron.Env = macaron.PROD macaron.ColorLog = false - setting.ProdMode = true + git.Debug = false } log.Info("Run Mode: %s", strings.Title(macaron.Env)) } -- cgit v1.2.3