fix
This commit is contained in:
parent
71f4a1e200
commit
38eebe5b35
|
@ -53,9 +53,8 @@ import (
|
||||||
func Init(r *gin.Engine) {
|
func Init(r *gin.Engine) {
|
||||||
r.HandleMethodNotAllowed = true
|
r.HandleMethodNotAllowed = true
|
||||||
|
|
||||||
// websocket长链接
|
r.GET("/", HelloWorld)
|
||||||
r.GET("/", ServeFile)
|
r.POST("/", HelloWorld)
|
||||||
r.GET("/ws", HandleWs)
|
|
||||||
|
|
||||||
// healthcheck
|
// healthcheck
|
||||||
r.GET("/healthcheck", Healthcheck)
|
r.GET("/healthcheck", Healthcheck)
|
||||||
|
|
Loading…
Reference in New Issue