Skip to content

Commit 8fa231d

Browse files
committed
.
1 parent e9090dd commit 8fa231d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

docs/configuration/cors.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ settings:
2222
headers: ["Content-Type"]
2323
```
2424
25-
> [!NOTE]
26-
> The `Access-Control-Allow-Credentials` header is automatically set to `true`
27-
28-
**Defaults** can be set under `cors.methods` and `cors.headers`, when adding origins under `cors.origins` **overwrites** can be defined
29-
under `methods` and `headers` like in the example above.
25+
The `cors.methods` and `cors.headers` settings act as **defaults** for origins, that do not **overwrite** `methods` or `headers`.
3026

31-
> [!IMPORTANT]
32-
> The `cors.methods` setting maps to `Access-Control-Allow-Methods` and `cors.headers` to `Access-Control-Allow-Headers`
27+
> [!NOTE]
28+
> Defaults for `cors.methods` and `cors.headers` are **already** defined as in the above

0 commit comments

Comments
 (0)