From: jloup Date: Sun, 13 May 2018 14:47:15 +0000 (+0100) Subject: Change mode configuration: 'production' -> 'prod'. X-Git-Tag: v0.0.13~1 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git;a=commitdiff_plain;h=391835378931665f449c2e99dc070292d193409e Change mode configuration: 'production' -> 'prod'. --- 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() { db.Init(C.Db, C.Redis) - if C.Mode == "production" { + if C.Mode == "prod" { gin.DisableConsoleColor() gin.SetMode(gin.ReleaseMode) }