Skip to content

Commit

Permalink
Merge pull request #16 from acelaya-forks/patch/docs-typo
Browse files Browse the repository at this point in the history
Fixed typo in docs where wrong headers are referenced
  • Loading branch information
samsonasik authored Dec 31, 2020
2 parents 66c45ab + 4d7e6fa commit 4c9227a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/book/v1/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ On the project level, you can only configure the following Headers:
|:-------------|:-------------:|:-----:
| `allowed_origins` | string[] | Access-Control-Allow-Origin
| `allowed_headers` | string[] | Access-Control-Allow-Headers
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Allowed-Max-Age
| `allowed_max_age` | string (TTL in seconds) | Access-Control-Max-Age
| `credentials_allowed` | bool | Access-Control-Allow-Credentials
| `exposed_headers` | string[] | Access-Control-Exposed-Headers
| `exposed_headers` | string[] | Access-Control-Expose-Headers

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

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

0 comments on commit 4c9227a

Please sign in to comment.