fix
This commit is contained in:
parent
e84f94de68
commit
801fe5cbe0
|
@ -54,9 +54,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