From 0598f99bd3806428e28220b0c55095e1fdd73247 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Fri, 17 May 2024 10:59:40 +0800 Subject: [PATCH] fix --- app/mix/controller/init.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index bb77e167..fa156dbc 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -53,8 +53,7 @@ import ( func Init(r *gin.Engine) { r.HandleMethodNotAllowed = true - r.GET("/", HelloWorld) - r.POST("/", HelloWorld) + r.Any("/", HelloWorld) // healthcheck r.GET("/healthcheck", Healthcheck)