Skip to content

Commit e9ef31c

Browse files
authored
Fix wrong heading level for ip middleware docs (#2937) (#2940)
1 parent 7b13801 commit e9ef31c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

docusaurus/docs/cms/configurations/middlewares.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ This security middleware is about cross-origin resource sharing (CORS) and is ba
302302
| `headers` | Configure the `Access-Control-Allow-Headers` header | `Array` or `String` | Request headers passed in `Access-Control-Request-Headers` |
303303
| `keepHeaderOnError` | Add set headers to `err.header` if an error is thrown | `Boolean` | `false` |
304304

305-
306305
<details>
307306
<summary> Example: Custom configuration for the cors middleware</summary>
308307

@@ -444,7 +443,7 @@ export default [
444443

445444
</details>
446445

447-
#### `ip`
446+
### `ip`
448447

449448
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:
450449

docusaurus/static/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7150,7 +7150,7 @@ The `favicon` middleware serves the favicon and is based on
71507150

71517151
</details>
71527152

7153-
#### `ip`
7153+
### `ip`
71547154

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

0 commit comments

Comments
 (0)