Skip to content

Commit

Permalink
docs(readme): replace use of deprecated variadic listen() (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Aug 5, 2022
1 parent 788c021 commit e46c5a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ app.register(autoload, {
dir: path.join(__dirname, 'plugins')
})

app.listen(3000)
app.listen({ port: 3000 })
```

or with ESM syntax:
Expand All @@ -46,7 +46,7 @@ app.register(autoLoad, {
dir: join(__dirname, 'plugins')
})

app.listen(3000)
app.listen({ port: 3000 })
```
Folder structure:
Expand Down

0 comments on commit e46c5a0

Please sign in to comment.