From 4e5b88507d7205ea6ad51bfd9f5de8bb990c8eb5 Mon Sep 17 00:00:00 2001 From: Lien Date: Wed, 13 May 2020 09:31:37 +0800 Subject: [PATCH] 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 ef825c679466..7f9cc4794937 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",