Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Nov 1, 2023
1 parent 74a8f1b commit 4aaac7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/en/latest/user/cors.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before proceeding, you should be able to query the example backend using HTTP.

## Configuration

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`.

```shell
cat <<EOF | kubectl apply -f -
Expand All @@ -31,8 +31,8 @@ spec:
name: backend
cors:
allowOrigins:
- type: Suffix
value: ".foo.com"
- type: Exact
value: "www.foo.com"
allowMethods:
- GET
- POST
Expand Down

0 comments on commit 4aaac7e

Please sign in to comment.