mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
refactor: added listen callback function (#4096)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
+3
-3
@@ -135,6 +135,6 @@ server = http.createServer(function (req, res) {
|
|||||||
|
|
||||||
const PORT = argv.p || 3000;
|
const PORT = argv.p || 3000;
|
||||||
|
|
||||||
server.listen(PORT);
|
server.listen(PORT, () => {
|
||||||
|
console.log(`Examples running on ${PORT}`);
|
||||||
console.log("Examples running on " + PORT);
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user