1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 09:35:14 +03: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 {
return
}
log.Debugf("Abytes: %s", Abytes)
if bytes.Equal(Abytes, []byte("ping")) {
room = pingRoom
log.Debug("sending back pong")