We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a8f1b commit 4aaac7eCopy full SHA for 4aaac7e
1 file changed
site/content/en/latest/user/cors.md
@@ -16,7 +16,7 @@ Before proceeding, you should be able to query the example backend using HTTP.
16
17
## Configuration
18
19
-The below example defines a SecurityPolicy that allows CORS requests from `*.foo.com`.
+The below example defines a SecurityPolicy that allows CORS requests from `www.foo.com`.
20
21
```shell
22
cat <<EOF | kubectl apply -f -
@@ -31,8 +31,8 @@ spec:
31
name: backend
32
cors:
33
allowOrigins:
34
- - type: Suffix
35
- value: ".foo.com"
+ - type: Exact
+ value: "www.foo.com"
36
allowMethods:
37
- GET
38
- POST
0 commit comments