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