Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docusaurus/docs/cms/configurations/middlewares.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ This security middleware is about cross-origin resource sharing (CORS) and is ba
| `headers` | Configure the `Access-Control-Allow-Headers` header | `Array` or `String` | Request headers passed in `Access-Control-Request-Headers` |
| `keepHeaderOnError` | Add set headers to `err.header` if an error is thrown | `Boolean` | `false` |


<details>
<summary> Example: Custom configuration for the cors middleware</summary>

Expand Down Expand Up @@ -444,7 +443,7 @@ export default [

</details>

#### `ip`
### `ip`

The `ip` middleware is an IP filter middleware based on <ExternalLink to="https://github.com/nswbmw/koa-ip" text="koa-ip"/>. It accepts the following options:

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/static/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7308,7 +7308,7 @@ The `favicon` middleware serves the favicon and is based on

</details>

#### `ip`
### `ip`

The `ip` middleware is an IP filter middleware based on

Expand Down