]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/commitdiff
Change mode configuration: 'production' -> 'prod'.
authorjloup <jloup@jloup.work>
Sun, 13 May 2018 14:47:15 +0000 (15:47 +0100)
committerjloup <jloup@jloup.work>
Sun, 13 May 2018 14:47:15 +0000 (15:47 +0100)
cmd/app/main.go

index 3ad427dbd00ba8659890fcd50b60c378117b261d..2cf29f96242a5e6ddbb8aba4d2fb33736029a58e 100644 (file)
@@ -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)
        }