0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

fix local

This commit is contained in:
Zack Scholl 2021-10-02 12:02:25 -07:00
parent 04662df347
commit e5f59fa0f9

View file

@ -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")