diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/app/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/app/main.go b/cmd/app/main.go index 3ad427d..2cf29f9 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go | |||
@@ -65,7 +65,7 @@ func init() { | |||
65 | 65 | ||
66 | db.Init(C.Db, C.Redis) | 66 | db.Init(C.Db, C.Redis) |
67 | 67 | ||
68 | if C.Mode == "production" { | 68 | if C.Mode == "prod" { |
69 | gin.DisableConsoleColor() | 69 | gin.DisableConsoleColor() |
70 | gin.SetMode(gin.ReleaseMode) | 70 | gin.SetMode(gin.ReleaseMode) |
71 | } | 71 | } |