You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by li...@apache.org on 2020/05/13 01:31:45 UTC

[incubator-apisix] branch lilien1010-patch-1 created (now 4e5b885)

This is an automated email from the ASF dual-hosted git repository.

liling pushed a change to branch lilien1010-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git.


      at 4e5b885  doc: fix conditional router with vars

This branch includes the following new commits:

     new 4e5b885  doc: fix conditional router with vars

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-apisix] 01/01: doc: fix conditional router with vars

Posted by li...@apache.org.
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 <li...@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",