From 1e6b92d1d98cc2d1db2a9a67199467b1626a5a67 Mon Sep 17 00:00:00 2001 From: Timo Vetter Date: Mon, 9 Oct 2023 09:23:40 +0200 Subject: [PATCH] v0.0.282 ginext bugfix --- ginext/engine.go | 2 +- goextVersion.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"