Skip to content

Commit 728b1da

Browse files
committed
Fix copy and paste errors
1 parent 9311622 commit 728b1da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/plugins/cors.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ Value can be one of the following:
7575

7676
Allowed headers for an incoming request.
7777

78-
Assign [Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) header.
78+
Assign [Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) header.
7979

8080
Value can be one of the following:
81-
- **string** - Expects either a single method or a comma-delimited string
81+
- **string** - Expects either a single header or a comma-delimited string
8282
- eg: `'Content-Type, Authorization'`.
83-
- **string[]** - Allow multiple HTTP methods.
83+
- **string[]** - Allow multiple HTTP headers.
8484
- eg: `['Content-Type', 'Authorization']`
8585

8686
---
@@ -92,9 +92,9 @@ Response CORS with specified headers.
9292
Assign [Access-Control-Exposed-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) header.
9393

9494
Value can be one of the following:
95-
- **string** - Expects either a single method or a comma-delimited string.
95+
- **string** - Expects either a single header or a comma-delimited string.
9696
- eg: `'Content-Type, X-Powered-By'`.
97-
- **string[]** - Allow multiple HTTP methods.
97+
- **string[]** - Allow multiple HTTP headers.
9898
- eg: `['Content-Type', 'X-Powered-By']`
9999

100100
---

0 commit comments

Comments
 (0)