reid 2 年之前
父节点
当前提交
b82d60aa48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -52,5 +52,5 @@ func main() {
 	<-versionUpdateChannel
 	r := mux.NewRouter()
 	r.HandleFunc("/ws", ws.WsHandler)
-	http.ListenAndServe(":3000", nil)
+	http.ListenAndServe(":3000", r)
 }