diff --git a/static/templates/chat_page.html b/static/templates/chat_page.html index a93dc32..f26a34d 100644 --- a/static/templates/chat_page.html +++ b/static/templates/chat_page.html @@ -4,7 +4,6 @@ - GO语言开源客服系统-GOFLY diff --git a/ws/user.go b/ws/user.go index 801401e..9d9cae5 100644 --- a/ws/user.go +++ b/ws/user.go @@ -41,7 +41,8 @@ func NewKefuServer(c *gin.Context) { var receive []byte messageType, receive, err := conn.ReadMessage() if err != nil { - log.Println(err) + log.Println("ws/user.go ", err) + conn.Close() return }