Socket.io is not served in /socket.io/socket.io.js
Read through http://expressjs.com/api.html#app.listen, note how app.listen
is defined.
In short: replace app.listen
with server.listen
.
Read through http://expressjs.com/api.html#app.listen, note how app.listen
is defined.
In short: replace app.listen
with server.listen
.