Skip to content

Commit 5f7f3f0

Browse files
authored
docs: fix shell command syntax for CORS example (envoyproxy#7222)
* docs: fix shell command syntax for CORS example Signed-off-by: Dean Coakley <[email protected]> * docs: fix shell command for v1.5 cors example Signed-off-by: Dean Coakley <[email protected]> --------- Signed-off-by: Dean Coakley <[email protected]>
1 parent 193f5f7 commit 5f7f3f0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

site/content/en/latest/tasks/security/cors.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ You won't see any CORS headers in the response, indicating that the request from
233233
If you try to send a request from `http://www.foo.com:8080`, you should also see similar response because the port number
234234
`8080` is not included in the allowed origins.
235235

236-
```shell
237236
```shell
238237
curl -H "Origin: http://www.foo.com:8080" \
239238
-H "Host: www.example.com" \

site/content/en/v1.5/tasks/security/cors.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ You won't see any CORS headers in the response, indicating that the request from
233233
If you try to send a request from `http://www.foo.com:8080`, you should also see similar response because the port number
234234
`8080` is not included in the allowed origins.
235235

236-
```shell
237236
```shell
238237
curl -H "Origin: http://www.foo.com:8080" \
239238
-H "Host: www.example.com" \

0 commit comments

Comments
 (0)