aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjloup <jloup@jloup.work>2018-05-13 15:47:15 +0100
committerjloup <jloup@jloup.work>2018-05-13 15:47:15 +0100
commit391835378931665f449c2e99dc070292d193409e (patch)
tree12bfb176ac3e042897b9735d221afdf20688b9f1
parenta3e231e4c3ac1a41bae49a2cea2874d9e8f1b9ea (diff)
downloadFront-391835378931665f449c2e99dc070292d193409e.tar.gz
Front-391835378931665f449c2e99dc070292d193409e.tar.zst
Front-391835378931665f449c2e99dc070292d193409e.zip
Change mode configuration: 'production' -> 'prod'.
-rw-r--r--cmd/app/main.go2
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 }