You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/04/30 09:48:53 UTC

[apisix] branch master updated: docs:Json Format Error (#4168)

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

tokers 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 518a787  docs:Json Format Error (#4168)
518a787 is described below

commit 518a787fdeadd77883b8fa6830427af96f3fb9a2
Author: Mars <ke...@hotmail.com>
AuthorDate: Fri Apr 30 17:48:44 2021 +0800

    docs:Json Format Error (#4168)
    
    Co-authored-by: Mars_Ken <xu...@laiyifen.com>
---
 docs/en/latest/discovery.md | 8 ++++----
 docs/zh/latest/discovery.md | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/en/latest/discovery.md b/docs/en/latest/discovery.md
index 2abaf22..21fe000 100644
--- a/docs/en/latest/discovery.md
+++ b/docs/en/latest/discovery.md
@@ -223,9 +223,9 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f
     "uri": "/a/*",
     "plugins": {
         "proxy-rewrite" : {
-            regex_uri: ["^/a/(.*)", "/${1}"]
+            "regex_uri": ["^/a/(.*)", "/${1}"]
         }
-    }
+    },
     "upstream": {
         "service_name": "A-SERVICE",
         "type": "roundrobin",
@@ -238,9 +238,9 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: edd1c9f034335f
     "uri": "/b/*",
     "plugins": {
         "proxy-rewrite" : {
-            regex_uri: ["^/b/(.*)", "/${1}"]
+            "regex_uri": ["^/b/(.*)", "/${1}"]
         }
-    }
+    },
     "upstream": {
         "service_name": "B-SERVICE",
         "type": "roundrobin",
diff --git a/docs/zh/latest/discovery.md b/docs/zh/latest/discovery.md
index 20105e1..73907c9 100644
--- a/docs/zh/latest/discovery.md
+++ b/docs/zh/latest/discovery.md
@@ -237,9 +237,9 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f
     "uri": "/a/*",
     "plugins": {
         "proxy-rewrite" : {
-            regex_uri: ["^/a/(.*)", "/${1}"]
+            "regex_uri": ["^/a/(.*)", "/${1}"]
         }
-    }
+    },
     "upstream": {
         "service_name": "A-SERVICE",
         "type": "roundrobin",
@@ -252,9 +252,9 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: edd1c9f034335f
     "uri": "/b/*",
     "plugins": {
         "proxy-rewrite" : {
-            regex_uri: ["^/b/(.*)", "/${1}"]
+            "regex_uri": ["^/b/(.*)", "/${1}"]
         }
-    }
+    },
     "upstream": {
         "service_name": "B-SERVICE",
         "type": "roundrobin",