Skip to content

Commit

Permalink
Update hono.mdx (#1988)
Browse files Browse the repository at this point in the history
  • Loading branch information
perkinsjr authored Jul 28, 2024
1 parent 09f0afc commit fd69569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/libraries/ts/hono.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ By default the middleware will not do anything with the verification response ot
However you most likely would like to just return a `401` response if the key is invalid and not continue with the request.

To do this you can pass a `handleInvalidKey` handler to the middleware.
See [here](http://localhost:3000/libraries/ts/sdk/keys/verify#response) for the full `result` object.
See [here](/libraries/ts/sdk/keys/verify#response) for the full `result` object.

```ts
app.use(
Expand Down

0 comments on commit fd69569

Please sign in to comment.