Skip to content

Commit

Permalink
Move the hint message to the callback
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriz authored and leo committed May 15, 2018
1 parent 60d33d9 commit 64a62a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/socket.io-chat-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ const io = require('socket.io')(server);
// socket-io handlers are in websocket-server.js
require('./websocket-server.js')(io);

console.log('Listening on localhost:4000');
server.listen(4000);
server.listen(4000, () => console.log('Listening on localhost:4000'));

0 comments on commit 64a62a6

Please sign in to comment.