From d565bac0ab7202607daf2b82ae9a84d96c4cb404 Mon Sep 17 00:00:00 2001 From: duyu Date: Thu, 18 Jul 2024 18:22:22 +0800 Subject: [PATCH] addtemp --- app/http/routes/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/http/routes/route.go b/app/http/routes/route.go index 5aaa0bf..45260e3 100644 --- a/app/http/routes/route.go +++ b/app/http/routes/route.go @@ -89,7 +89,7 @@ func RegisterRoute(router *gin.Engine) { } whitelist := router.Group("/whitelist") - // whitelist.Use(middlewares.VerifyHtmlIp()) + whitelist.Use(middlewares.VerifyHtmlIp()) { whitelist.POST("/get_by_id", wlCon.GetById) whitelist.POST("/search", wlCon.Search)