From 9df37d57e454c49b2c55418ad53b6d49a2be2589 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Dec 2023 00:09:26 +0530 Subject: replaced production_mode with debug_mode in config file --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') 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) } } -- cgit v1.2.3