diff --git a/README.md b/README.md index 7418643..5a4c5c2 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ app.get('/decorator', function (req, reply) { reply.code(200).send( { user }); }); -app.listen(3000, (err, address) => { +app.listen({ port: 3000 }, (err, address) => { if (err) throw err app.log.info(`server listening on ${address}`) });