Skip to content

Commit

Permalink
[docs] mention serverFetch (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConProgramming authored Aug 3, 2021
1 parent d88ef45 commit b559dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/04-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Hooks
---

An optional `src/hooks.js` (or `src/hooks.ts`, or `src/hooks/index.js`) file exports two functions, both optional, that run on the server — **handle** and **getSession**.
An optional `src/hooks.js` (or `src/hooks.ts`, or `src/hooks/index.js`) file exports three functions, all optional, that run on the server — **handle**, **getSession**, and **serverFetch**.

> The location of this file can be [configured](#configuration) as `config.kit.files.hooks`
Expand Down

0 comments on commit b559dbb

Please sign in to comment.