This commit is contained in:
lwl0608 2024-05-17 10:44:48 +08:00
parent 71f4a1e200
commit 38eebe5b35
1 changed files with 2 additions and 3 deletions

View File

@ -53,9 +53,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)