diff options
-rw-r--r-- | cmd/app/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/app/main.go b/cmd/app/main.go index e414bf2..3ad427d 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go | |||
@@ -66,6 +66,7 @@ func init() { | |||
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 == "production" { |
69 | gin.DisableConsoleColor() | ||
69 | gin.SetMode(gin.ReleaseMode) | 70 | gin.SetMode(gin.ReleaseMode) |
70 | } | 71 | } |
71 | 72 | ||