Skip to content

Commit

Permalink
Update createNodeMiddleware() documentation
Browse files Browse the repository at this point in the history
Update `createNodeMiddleware()` - `path` option documentation, to reflect exact setting of value for custom routing options
  • Loading branch information
arnitdo authored Jan 8, 2025
1 parent ab71230 commit a64d206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ The middleware returned from `createNodeMiddleware` can also serve as an
</em>
</td>
<td>
Custom path to match requests against. Defaults to <code>/api/github/webhooks</code>.
Custom path to match requests against. Defaults to <code>/api/github/webhooks</code>. Set this to EXACTLY "/" if you want to use the middleware as a custom handler in your own routers
</td>
</tr>
<tr>
Expand Down

0 comments on commit a64d206

Please sign in to comment.