Skip to content

Commit b646485

Browse files
authored
docs: adds onInit to payload config options (#11069)
This PR adds the `onInit` function to the Payload config options table.
1 parent 6b9d81a commit b646485

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/configuration/overview.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ The following options are available:
8787
| **`upload`** | Base Payload upload configuration. [More details](../upload/overview#payload-wide-upload-options). |
8888
| **`routes`** | Control the routing structure that Payload binds itself to. [More details](../admin/overview#root-level-routes). |
8989
| **`email`** | Configure the Email Adapter for Payload to use. [More details](../email/overview). |
90+
| **`onInit`** | A function that is called immediately following startup that receives the Payload instance as its only argument. |
9091
| **`debug`** | Enable to expose more detailed error information. |
9192
| **`telemetry`** | Disable Payload telemetry by passing `false`. [More details](#telemetry). |
9293
| **`rateLimit`** | Control IP-based rate limiting for all Payload resources. Used to prevent DDoS attacks, etc. [More details](../production/preventing-abuse#rate-limiting-requests). |

0 commit comments

Comments
 (0)