From c269d433bd9e68e5c9ef824136fa48321d68465d Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Sat, 31 Mar 2018 16:40:59 +0530 Subject: [PATCH] [min] remove dead code --- socketio.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/socketio.js b/socketio.js index 6301535fc9..5280acb797 100644 --- a/socketio.js +++ b/socketio.js @@ -26,11 +26,6 @@ server.listen(conf.socketio_port, function () { console.log('listening on *:', conf.socketio_port); //eslint-disable-line }); -// test route -app.get('/', function (req, res) { - res.sendfile('index.html'); -}); - // on socket connection io.on('connection', function (socket) { if (get_hostname(socket.request.headers.host) != get_hostname(socket.request.headers.origin)) {