Explorar o código

Fix typo in server

RobinLinus %!s(int64=6) %!d(string=hai) anos
pai
achega
728aabd449
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      server/index.js

+ 2 - 0
server/index.js

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