From a64d2067d59c077727d3e55cbfe9223ae92edaf7 Mon Sep 17 00:00:00 2001 From: Arnav Deo Date: Wed, 8 Jan 2025 19:48:47 +0530 Subject: [PATCH 1/2] Update `createNodeMiddleware()` documentation Update `createNodeMiddleware()` - `path` option documentation, to reflect exact setting of value for custom routing options --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3be09721..d4ebe5e3 100644 --- a/README.md +++ b/README.md @@ -551,7 +551,7 @@ The middleware returned from `createNodeMiddleware` can also serve as an - Custom path to match requests against. Defaults to /api/github/webhooks. + Custom path to match requests against. Defaults to /api/github/webhooks. Set this to EXACTLY "/" if you want to use the middleware as a custom handler in your own routers From bca414e4049f03111d51b41460a45ff8617767bd Mon Sep 17 00:00:00 2001 From: Arnav Deo Date: Wed, 8 Jan 2025 19:56:14 +0530 Subject: [PATCH 2/2] Wrap string literal in code block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4ebe5e3..f164ffba 100644 --- a/README.md +++ b/README.md @@ -551,7 +551,7 @@ The middleware returned from `createNodeMiddleware` can also serve as an - Custom path to match requests against. Defaults to /api/github/webhooks. Set this to EXACTLY "/" if you want to use the middleware as a custom handler in your own routers + Custom path to match requests against. Defaults to /api/github/webhooks. Set this to EXACTLY `"/"` if you want to use the middleware as a custom handler in your own routers