File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ Value can be one of the following:
75
75
76
76
Allowed headers for an incoming request.
77
77
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.
79
79
80
80
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
82
82
- eg : ` 'Content-Type, Authorization' ` .
83
- - **string []** - Allow multiple HTTP methods .
83
+ - **string []** - Allow multiple HTTP headers .
84
84
- eg : ` ['Content-Type', 'Authorization'] `
85
85
86
86
---
@@ -92,9 +92,9 @@ Response CORS with specified headers.
92
92
Assign [Access -Control -Exposed -Headers ](https : // developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) header.
93
93
94
94
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 .
96
96
- eg : ` 'Content-Type, X-Powered-By' ` .
97
- - **string []** - Allow multiple HTTP methods .
97
+ - **string []** - Allow multiple HTTP headers .
98
98
- eg : ` ['Content-Type', 'X-Powered-By'] `
99
99
100
100
---
You can’t perform that action at this time.
0 commit comments