v0.0.282 ginext bugfix
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 48s

This commit is contained in:
2023-10-09 09:23:40 +02:00
parent 0b85fa5af9
commit 1e6b92d1d9
2 changed files with 3 additions and 3 deletions

View File

@@ -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()