]> git.cworth.org Git - lmno-server/blobdiff - tictactoe.js
Give the "/events" route a common implementation
[lmno-server] / tictactoe.js
index 9140b89da9bad2d2b69e2aca9e3f53ff1c2372f9..89ad5d2b4685224ed4766447cea4eef9f4c437bb 100644 (file)
@@ -51,12 +51,6 @@ router.post('/move', (request, response) => {
   game.broadcast_move(square);
 });
 
-router.get('/events', (request, response) => {
-  const game = request.game;
-
-  game.handle_events(request, response);
-});
-
 exports.router = router;
 exports.Game = TicTacToe;