Fix typo in server
This commit is contained in:
parent
96e37aef40
commit
728aabd449
1 changed files with 2 additions and 0 deletions
|
@ -34,8 +34,10 @@ class SnapdropServer {
|
|||
switch (message.type) {
|
||||
case 'disconnect':
|
||||
this._leaveRoom(sender);
|
||||
break;
|
||||
case 'pong':
|
||||
sender.lastBeat = Date.now();
|
||||
break;
|
||||
}
|
||||
|
||||
// relay message to recipient
|
||||
|
|
Loading…
Reference in a new issue