Skip to content

Commit

Permalink
docs: fix typo (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomuikuta authored Jun 17, 2024
1 parent 44db181 commit ba6936d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/2.event-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ app.use(

```js
app.use(
defineEventHandlers(async (event) => {
defineEventHandler(async (event) => {
return new Promise((resolve) => {
setTimeout(() => {
resolve({ url: event.node.req.url });
Expand Down

0 comments on commit ba6936d

Please sign in to comment.