Browse Source

Fix typo in server

RobinLinus 6 years ago
parent
commit
728aabd449
1 changed files with 2 additions and 0 deletions
  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