From 58d1ca7234fc9b10eb2ff94845096e271581e04e Mon Sep 17 00:00:00 2001 From: gaoshiyao Date: Wed, 6 Nov 2019 15:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/router.go b/src/router/router.go index ee86674..4bc28ff 100644 --- a/src/router/router.go +++ b/src/router/router.go @@ -28,7 +28,7 @@ func Load(middleware ...gin.HandlerFunc) http.Handler { e.Use(header.Options) e.Use(header.Secure) e.Use(middleware...) - root := e.Group("/") + root := e.Group("") { root.GET("/count", handler.GetCount) root.Any("/proxy/*action", handler.Proxy) -- 2.26.0