commit | bad28fee94feed7d513ad812a59515afd1ea264f | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri Mar 17 11:14:56 2023 +0100 |
committer | Akron <nils@diewald-online.de> | Fri Mar 17 11:14:56 2023 +0100 |
tree | 9b0ab826e6071bfe542e1c9483a60d9d8bd51eb1 | |
parent | 5fcb475a5d3c621b101ebd448cfa23f653e58968 [diff] |
Add production hint Change-Id: I5e29b6fc69edd2f03f49e979f4842c1f88f5269f
diff --git a/service.go b/service.go index 2fac3c1..ad6afaf 100644 --- a/service.go +++ b/service.go
@@ -180,6 +180,8 @@ } func main() { + gin.SetMode(gin.ReleaseMode) + if godotenv.Load() != nil { log.Println(".env file not loaded.") }