Skip to content

Commit

Permalink
make both docs table of contents same
Browse files Browse the repository at this point in the history
  • Loading branch information
dthyresson committed May 14, 2024
1 parent 0689f0c commit 550c271
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/docs/libraries/ts/redwoodjs/keys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export const registerMiddleware = () => {

In this example, `createApiKeyMiddleware` is used as a global middleware. It will validate the API key for all incoming requests.

## Configuration
## Setup

To get started with standalone API Key Verification using Unkey, see the [Public API Protection Onboarding Guide](https://www.unkey.com/docs/onboarding/onboarding-api).

## Examples

`createApiKeyMiddleware` can be configured by providing `ApiKeyMiddlewareConfig` configuration options when creating the middleware.

Expand Down
6 changes: 5 additions & 1 deletion packages/redwoodjs/src/keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ export const registerMiddleware = () => {

In this example, `createApiKeyMiddleware` is used as a global middleware. It will validate the API key for all incoming requests.

## Configuration
## Setup

To get started with standalone API Key Verification using Unkey, see the [Public API Protection Onboarding Guide](https://www.unkey.com/docs/onboarding/onboarding-api).

## Examples

`createApiKeyMiddleware` can be configured by providing `ApiKeyMiddlewareConfig` configuration options when creating the middleware.

Expand Down

0 comments on commit 550c271

Please sign in to comment.