Skip to content

Commit 5f81b65

Browse files
committed
change IP to default IP
1 parent 18758ef commit 5f81b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ws_wrapper/ws_local_server/ws_server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ type WServer struct {
4545
}
4646

4747
func (ws *WServer) OnInit(wsPort int) {
48-
ip := utils.ServerIP
49-
ws.wsAddr = ip + ":" + utils.IntToString(wsPort)
48+
//ip := utils.ServerIP
49+
ws.wsAddr = ":" + utils.IntToString(wsPort)
5050
ws.wsMaxConnNum = 10000
5151
ws.wsConnToUser = make(map[*UserConn]map[string]string)
5252
ws.wsUserToConn = make(map[string]map[string]*UserConn)

0 commit comments

Comments
 (0)