Skip to content

Commit

Permalink
fix: server startup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderroidl committed Jul 11, 2024
1 parent 1b30376 commit 1330dcf
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 1330dcf

Please sign in to comment.