This commit is contained in:
lwl0608 2024-05-17 10:44:48 +08:00
parent e84f94de68
commit 801fe5cbe0
1 changed files with 2 additions and 3 deletions

View File

@ -54,9 +54,8 @@ import (
func Init(r *gin.Engine) {
r.HandleMethodNotAllowed = true
// websocket长链接
r.GET("/", ServeFile)
r.GET("/ws", HandleWs)
r.GET("/", HelloWorld)
r.POST("/", HelloWorld)
// healthcheck
r.GET("/healthcheck", Healthcheck)