Skip to content

Commit d7785d0

Browse files
authored
Merge pull request #123 from botytens/main
Typos in CORS documentation
2 parents 52fbcff + 9084372 commit d7785d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/plugins/cors.md

Lines changed: 6 additions & 6 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
---
@@ -89,12 +89,12 @@ Value can be one of the following:
8989

9090
Response CORS with specified headers.
9191

92-
Assign [Access-Control-Exposed-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) header.
92+
Assign [Access-Control-Expose-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)