mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
fix local
This commit is contained in:
parent
04662df347
commit
e5f59fa0f9
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ func (s *server) clientCommunication(port string, c *comm.Comm) (room string, er
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Debugf("Abytes: %s", Abytes)
|
||||||
if bytes.Equal(Abytes, []byte("ping")) {
|
if bytes.Equal(Abytes, []byte("ping")) {
|
||||||
room = pingRoom
|
room = pingRoom
|
||||||
log.Debug("sending back pong")
|
log.Debug("sending back pong")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue