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:
+3
-3
@@ -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}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user