You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2019/12/29 09:15:58 UTC
[incubator-apisix] branch master updated: Update serverless.md
(#970)
This is an automated email from the ASF dual-hosted git repository.
wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 88936ed Update serverless.md (#970)
88936ed is described below
commit 88936ed1d5951e8f841933d714870e61a9189159
Author: chenjx <cj...@gmail.com>
AuthorDate: Sun Dec 29 17:15:53 2019 +0800
Update serverless.md (#970)
---
doc/plugins/serverless.md | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/doc/plugins/serverless.md b/doc/plugins/serverless.md
index ff193af..239d8b1 100644
--- a/doc/plugins/serverless.md
+++ b/doc/plugins/serverless.md
@@ -73,12 +73,10 @@ curl -i http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -d '
{
"uri": "/index.html",
"plugins": {
- "plugins": {
- "serverless-pre-function": {
- "phase": "rewrite",
- "functions" : ["return function() ngx.log(ngx.ERR, 'serverless pre function'); end"]
- }
- },
+ "serverless-pre-function": {
+ "phase": "rewrite",
+ "functions" : ["return function() ngx.log(ngx.ERR, 'serverless pre function'); end"]
+ }
},
"upstream": {
"type": "roundrobin",