aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index a1d3e32..6595c7c 100644
--- a/main.go
+++ b/main.go
@@ -38,10 +38,10 @@ import (
"log"
)
-const OPENBILLS_VERSION = "v0.0.14"
+const OPENBILLS_VERSION = "v0.1.0"
func init() {
- if viper.GetBool("production_mode") {
+ if !viper.GetBool("debug_mode") {
gin.SetMode(gin.ReleaseMode)
}
}