2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

refactor: added listen callback function (#4096)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Luca Pizzini
2022-05-04 20:42:36 +02:00
committed by GitHub
parent 5affc9d08e
commit 1de70bd130
+3 -3
View File
@@ -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}`);
});