Skip to content

Commit

Permalink
chore: replace use of deprecated variadic listen()
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Aug 5, 2022
1 parent 2575c37 commit 9a2b62f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fastify.register(async function (fastify) {
})
})
fastify.listen(3000)
fastify.listen({ port: 3000 })
```
## Acknowledgements
Expand Down
2 changes: 1 addition & 1 deletion bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ fastify.register((instance, opts, next) => {
next()
})

fastify.listen(3000)
fastify.listen({ port: 3000 })

0 comments on commit 9a2b62f

Please sign in to comment.