diff --git a/control/gui.go b/control/gui.go index e57be4e94e..5c3fe959df 100644 --- a/control/gui.go +++ b/control/gui.go @@ -61,11 +61,6 @@ func controller() { } }() - if log.GetLevel() != log.DebugLevel { - gin.SetMode(gin.ReleaseMode) - gin.DefaultWriter = io.Discard - } - engine := gin.New() // 支持跨域 engine.Use(cors())