Skip to content

Commit

Permalink
Merge pull request #77 from alexanderroidl/fix/server-startup
Browse files Browse the repository at this point in the history
fix: Server startup
  • Loading branch information
AhmadIbrahiim authored Jul 12, 2024
2 parents 1b30376 + 1330dcf commit a7e3810
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ require('../socket/socket')(io)
* Listen on provided port, on all network interfaces.
*/

server.listen(port);
server.listen(port, onListening);
server.on('error', onError);
server.on('listening', onListening);

/**
* Normalize a port into a number, string, or false.
Expand Down

0 comments on commit a7e3810

Please sign in to comment.