Skip to content

Commit 4aaac7e

Browse files
committed
address comments
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
1 parent 74a8f1b commit 4aaac7e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

site/content/en/latest/user/cors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before proceeding, you should be able to query the example backend using HTTP.
1616

1717
## Configuration
1818

19-
The below example defines a SecurityPolicy that allows CORS requests from `*.foo.com`.
19+
The below example defines a SecurityPolicy that allows CORS requests from `www.foo.com`.
2020

2121
```shell
2222
cat <<EOF | kubectl apply -f -
@@ -31,8 +31,8 @@ spec:
3131
name: backend
3232
cors:
3333
allowOrigins:
34-
- type: Suffix
35-
value: ".foo.com"
34+
- type: Exact
35+
value: "www.foo.com"
3636
allowMethods:
3737
- GET
3838
- POST

0 commit comments

Comments
 (0)