Chapter 4: lint

This commit is contained in:
Beth Griggs
2020-08-03 00:02:26 +01:00
parent 33cdc5ae35
commit 6b79a9e6fb
+1 -1
View File
@@ -23,6 +23,6 @@ function index(res) {
res.end('{"name": "todo-server"}');
}
server.listen(PORT, HOSTNAME, () => {
server.listen({PORT}, HOSTNAME, () => {
console.log("Server listening on", server.address());
});