Skip to content

Commit

Permalink
Merge pull request #243 from fastify/Fdawgs-patch-1
Browse files Browse the repository at this point in the history
docs(readme): replace use of deprecated variadic `listen()`
  • Loading branch information
Uzlopak authored Aug 5, 2022
2 parents f2066c7 + 8caa99b commit e9327fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ app.get('/', (req, reply) => {
.compress(fs.createReadStream('./package.json'))
})

await app.listen(3000)
await app.listen({ port: 3000 })
```
## Compress Options
Expand Down

0 comments on commit e9327fa

Please sign in to comment.