Przeglądaj źródła

[min] remove dead code

version-14
Achilles Rasquinha 7 lat temu
rodzic
commit
c269d433bd
1 zmienionych plików z 0 dodań i 5 usunięć
  1. +0
    -5
      socketio.js

+ 0
- 5
socketio.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz