This is an automated email from the ASF dual-hosted git repository. liling pushed a commit to branch lilien1010-patch-1 in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
commit 4e5b88507d7205ea6ad51bfd9f5de8bb990c8eb5 Author: Lien <lilien1...@gmail.com> AuthorDate: Wed May 13 09:31:37 2020 +0800 doc: fix conditional router with vars --- doc/router-radixtree.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/router-radixtree.md b/doc/router-radixtree.md index ef825c6..7f9cc47 100644 --- a/doc/router-radixtree.md +++ b/doc/router-radixtree.md @@ -78,9 +78,9 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f { "uri": "/index.html", "vars": [ - ["http_host", "iresty.com"], - ["cookie__device_id", "a66f0cdc4ba2df8c096f74c9110163a9"], - ["arg_name", "jack"] + ["http_host", "==", "iresty.com"], + ["cookie__device_id","~~", "a66f0cdc4ba2df8c096f74c9110163a9"], + ["arg_name", "==", "jack"] ], "upstream": { "type": "roundrobin",