mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fix env var readme
This commit is contained in:
@@ -120,7 +120,7 @@ Eg. /redis/do
|
||||
```
|
||||
curl -X POST --data '{
|
||||
"name": "do",
|
||||
"image": "$USERNAME/func-redis",
|
||||
"image": "'$USERNAME'/func-redis",
|
||||
"path": "/do"
|
||||
}' http://$FUNCHOST/v1/apps/redis/routes
|
||||
```
|
||||
@@ -131,8 +131,8 @@ Now that we created our Function route, lets test it.
|
||||
|
||||
```
|
||||
curl -X POST --data '{
|
||||
"redis":"$REDISHOST",
|
||||
"redisAuth":"$REDISAUTH",
|
||||
"redis":"'$REDISHOST'",
|
||||
"redisAuth":"'$REDISAUTH'",
|
||||
"command": "SET",
|
||||
"args":["abc", "123"]
|
||||
}' http://$FUNCHOST/redis/exec
|
||||
|
||||
Reference in New Issue
Block a user