diff --git a/ginext/engine.go b/ginext/engine.go index 771801b..9ccba13 100644 --- a/ginext/engine.go +++ b/ginext/engine.go @@ -59,7 +59,7 @@ func NewEngine(allowCors bool, ginDebug bool, bufferBody bool, timeout time.Dura // do not debug-print routes gin.DebugPrintRouteFunc = func(_, _, _ string, _ int) {} - if ginDebug { + if !ginDebug { gin.SetMode(gin.ReleaseMode) ginlogger := gin.Logger() diff --git a/goextVersion.go b/goextVersion.go index 88e91bb..081227b 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.281" +const GoextVersion = "0.0.282" -const GoextVersionTimestamp = "2023-10-09T09:04:07+0200" +const GoextVersionTimestamp = "2023-10-09T09:23:40+0200"