This commit is contained in:
lwl0608 2024-05-17 10:59:40 +08:00
parent 38eebe5b35
commit 0598f99bd3
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ import (
func Init(r *gin.Engine) { func Init(r *gin.Engine) {
r.HandleMethodNotAllowed = true r.HandleMethodNotAllowed = true
r.GET("/", HelloWorld) r.Any("/", HelloWorld)
r.POST("/", HelloWorld)
// healthcheck // healthcheck
r.GET("/healthcheck", Healthcheck) r.GET("/healthcheck", Healthcheck)