This commit is contained in:
poiuty 2022-08-14 13:32:35 +03:00
parent e9ff078dc2
commit dad37ec59b
8 changed files with 217 additions and 257 deletions

View file

@ -3,7 +3,6 @@ package main
import (
"fmt"
"net/http"
"net/url"
"os"
"runtime"
"strings"
@ -114,5 +113,5 @@ func startRoom(workerData Info) {
workerData.Rid = rid
workerData.ch = make(chan struct{})
go xWorker(workerData, url.URL{Scheme: "wss", Host: workerData.Server + ".bcccdn.com", Path: "/websocket"})
go xWorker(workerData)
}