Skip to content

Commit

Permalink
docs: fix var name
Browse files Browse the repository at this point in the history
Closes #1247
  • Loading branch information
willfarrell committed Oct 18, 2024
1 parent 6ed25ae commit 5aeb2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/routers/http-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install --save @middy/http-router
- `method` (string) (required): One of `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS` and `ANY` that will match to any method passed in
- `path` (string) (required): AWS formatted path starting with `/`. Variable: `/{id}/`, Wildcard: `/{proxy+}`
- `handler` (function) (required): Any `handler(event, context)` function
- `notFoundHandler` (function): Override default 404 error thrown with your own custom response. Passes in `{method, path}`
- `notFoundResponse` (function): Override default 404 error thrown with your own custom response. Passes in `{method, path}`

NOTES:

Expand Down

0 comments on commit 5aeb2ef

Please sign in to comment.