]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/commitdiff
Disable log colors in production.
authorjloup <jloup@jloup.work>
Sun, 13 May 2018 13:12:58 +0000 (14:12 +0100)
committerjloup <jloup@jloup.work>
Sun, 13 May 2018 13:12:58 +0000 (14:12 +0100)
cmd/app/main.go

index e414bf2c45eb87f6a0a0879b2c154e5f4f5d4c4e..3ad427dbd00ba8659890fcd50b60c378117b261d 100644 (file)
@@ -66,6 +66,7 @@ func init() {
        db.Init(C.Db, C.Redis)
 
        if C.Mode == "production" {
+               gin.DisableConsoleColor()
                gin.SetMode(gin.ReleaseMode)
        }