From 2ae26dc2a6b9b1f90942062efc64b3705f1a1165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=9D=AD=E8=BE=89?= Date: Wed, 13 Nov 2024 18:02:57 +0800 Subject: [PATCH] fix: fix default gin --- restapi/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi/serve.go b/restapi/serve.go index 8fb8c50c6..f318fcf03 100644 --- a/restapi/serve.go +++ b/restapi/serve.go @@ -6,7 +6,7 @@ import ( ) func Serve(registry *core.PluginRegistry, address string) (err error) { - r := gin.Default() + r := gin.New() // Middleware r.Use(gin.Logger())