Skip to content

Commit 4c9227a

Browse files
authored
Merge pull request #16 from acelaya-forks/patch/docs-typo
Fixed typo in docs where wrong headers are referenced
2 parents 66c45ab + 4d7e6fa commit 4c9227a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/book/v1/middleware.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ On the project level, you can only configure the following Headers:
3737
|:-------------|:-------------:|:-----:
3838
| `allowed_origins` | string[] | Access-Control-Allow-Origin
3939
| `allowed_headers` | string[] | Access-Control-Allow-Headers
40-
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Allowed-Max-Age
40+
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Max-Age
4141
| `credentials_allowed` | bool | Access-Control-Allow-Credentials
42-
| `exposed_headers` | string[] | Access-Control-Exposed-Headers
42+
| `exposed_headers` | string[] | Access-Control-Expose-Headers
4343

4444
On the route level, you can configure all of the projects configuration settings
4545
and if the configuration of the route should either override the project
@@ -52,9 +52,9 @@ configuration (default) or merge it.
5252
| `explicit` | bool | -
5353
| `allowed_origins` | string[] | Access-Control-Allow-Origin
5454
| `allowed_headers` | string[] | Access-Control-Allow-Headers
55-
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Allowed-Max-Age
55+
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Max-Age
5656
| `credentials_allowed` | bool | Access-Control-Allow-Credentials
57-
| `exposed_headers` | string[] | Access-Control-Exposed-Headers
57+
| `exposed_headers` | string[] | Access-Control-Expose-Headers
5858

5959
The parameter `overrides_project_configuration` handles the way how the
6060
configuration is being merged. The default setting is `true` to ensure that a

0 commit comments

Comments
 (0)