txlyre 1 сар өмнө
parent
commit
3a223f2446
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      main.go

+ 1 - 0
main.go

@@ -22,6 +22,7 @@ func sender(queue chan []byte, secret string, cooldown uint) {
 
 	h := make(http.Header, 1)
 	h.Set("X-Secret", secret)
+	h.Set("X-Enable-Stats", "y")
 
 	for {
 		ws, _, err := websocket.DefaultDialer.Dial("wss://yebi.su/ws", h)