Skip to content

Commit

Permalink
docs: fix wrong argument (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon authored Aug 2, 2022
1 parent 670eb9e commit 2743d70
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 @@ -62,7 +62,7 @@ const { url, getURL, server, close } = await listen(handle, options?)
**Plain handle function:**
```ts
listen('/', ((_req, res) => {
listen((_req, res) => {
res.end('hi')
})
```
Expand Down

0 comments on commit 2743d70

Please sign in to comment.