You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/11/02 11:33:06 UTC

[apisix] branch master updated: docs: fix vars description about response-rewrite examples (#5403)

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

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 957878f  docs: fix vars description about response-rewrite examples (#5403)
957878f is described below

commit 957878fabad9179e60e8e2fc35582ade8f7b34ca
Author: arabot777 <30...@users.noreply.github.com>
AuthorDate: Tue Nov 2 19:32:58 2021 +0800

    docs: fix vars description about response-rewrite examples (#5403)
    
    Co-authored-by: liushan03 <li...@meicai.cn>
---
 docs/en/latest/plugins/response-rewrite.md | 2 +-
 docs/zh/latest/plugins/response-rewrite.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/plugins/response-rewrite.md b/docs/en/latest/plugins/response-rewrite.md
index c03ac9b..0ccd79f 100644
--- a/docs/en/latest/plugins/response-rewrite.md
+++ b/docs/en/latest/plugins/response-rewrite.md
@@ -67,7 +67,7 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: edd1c9f034335f1
                 "X-Server-balancer_addr": "$balancer_ip:$balancer_port"
             },
             "vars":[
-                [ "status","==","200" ]
+                [ "status","==",200 ]
             ]
         }
     },
diff --git a/docs/zh/latest/plugins/response-rewrite.md b/docs/zh/latest/plugins/response-rewrite.md
index 36758d1..d21ef55 100644
--- a/docs/zh/latest/plugins/response-rewrite.md
+++ b/docs/zh/latest/plugins/response-rewrite.md
@@ -68,7 +68,7 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: edd1c9f034335f1
                 "X-Server-balancer_addr": "$balancer_ip:$balancer_port"
             },
             "vars":[
-                [ "status","==","200" ]
+                [ "status","==",200 ]
             ]
         }
     },