You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus/docs/cms/configurations/middlewares.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -302,7 +302,6 @@ This security middleware is about cross-origin resource sharing (CORS) and is ba
302
302
|`headers`| Configure the `Access-Control-Allow-Headers` header |`Array` or `String`| Request headers passed in `Access-Control-Request-Headers`|
303
303
|`keepHeaderOnError`| Add set headers to `err.header` if an error is thrown |`Boolean`|`false`|
304
304
305
-
306
305
<details>
307
306
<summary> Example: Custom configuration for the cors middleware</summary>
308
307
@@ -444,7 +443,7 @@ export default [
444
443
445
444
</details>
446
445
447
-
####`ip`
446
+
### `ip`
448
447
449
448
The `ip` middleware is an IP filter middleware based on <ExternalLinkto="https://github.com/nswbmw/koa-ip"text="koa-ip"/>. It accepts the following options:
0 commit comments