Chapter 4: lint
This commit is contained in:
@@ -23,6 +23,6 @@ function index(res) {
|
|||||||
res.end('{"name": "todo-server"}');
|
res.end('{"name": "todo-server"}');
|
||||||
}
|
}
|
||||||
|
|
||||||
server.listen(PORT, HOSTNAME, () => {
|
server.listen({PORT}, HOSTNAME, () => {
|
||||||
console.log("Server listening on", server.address());
|
console.log("Server listening on", server.address());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user