We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9090dd commit 8fa231dCopy full SHA for 8fa231d
1 file changed
docs/configuration/cors.md
@@ -22,11 +22,7 @@ settings:
22
headers: ["Content-Type"]
23
```
24
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.
+The `cors.methods` and `cors.headers` settings act as **defaults** for origins, that do not **overwrite** `methods` or `headers`.
30
31
-> [!IMPORTANT]
32
-> The `cors.methods` setting maps to `Access-Control-Allow-Methods` and `cors.headers` to `Access-Control-Allow-Headers`
+> [!NOTE]
+> Defaults for `cors.methods` and `cors.headers` are **already** defined as in the above
0 commit comments