Skip to content

Commit

Permalink
refactor: added listen callback function (#4096)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
lpizzinidev and jasonsaayman committed May 4, 2022
1 parent 5affc9d commit 1de70bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/server.js
Expand Up @@ -135,6 +135,6 @@ server = http.createServer(function (req, res) {

const PORT = argv.p || 3000;

server.listen(PORT);

console.log("Examples running on " + PORT);
server.listen(PORT, () => {
console.log(`Examples running on ${PORT}`);
});

0 comments on commit 1de70bd

Please sign in to comment.