Skip to content

Commit

Permalink
docs: fix nitro runtime hooks link (#2826)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Nov 1, 2024
1 parent 32a4f86 commit 7b81000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/9.plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineNitroPlugin((nitro) => {

### Available hooks

See the [source code](https://github.com/unjs/nitro/blob/main/src/runtime/types.ts#L24) for list of all available runtime hooks.
See the [source code](https://github.com/unjs/nitro/blob/v2/src/core/index.ts#L75) for list of all available runtime hooks.

- `"close", () => {}`
- `"error", (error, { event? }) => {}`
Expand Down

0 comments on commit 7b81000

Please sign in to comment.