diff --git a/README.md b/README.md index b21e0b62..7858cee9 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Poor man's function as a service. [![Go Report Card](https://goreportcard.com/badge/github.com/metrue/fx?style=flat-square)](https://goreportcard.com/report/github.com/metrue/fx) [![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/metrue/fx) ![visitors](https://visitor-badge.glitch.me/badge?page_id=https://github.com/metrue/fx) -![liscense](https://img.shields.io/github/license/metrue/fx.svg) +![license](https://img.shields.io/github/license/metrue/fx.svg) [![Release](https://img.shields.io/github/release/metrue/fx.svg?style=flat-square)](https://github.com/metrue/fx/releases/latest) ## Table of Contents diff --git a/examples/functions/JavaScript/README.md b/examples/functions/JavaScript/README.md index ff44e793..5be6e09b 100644 --- a/examples/functions/JavaScript/README.md +++ b/examples/functions/JavaScript/README.md @@ -11,7 +11,7 @@ module.exports = (ctx) => { then deploy it with `fx up` command, ```shell -$ fx up -p 8080:3000 func.js +$ fx up -p 8080 func.js ``` test it using `curl` diff --git a/examples/functions/Rust/README.md b/examples/functions/Rust/README.md index da8f39c4..9d7d9494 100644 --- a/examples/functions/Rust/README.md +++ b/examples/functions/Rust/README.md @@ -33,7 +33,7 @@ $ fx up -p 8080 func.rs test it using `curl` ```shell -$ curl -X 'POST' --header 'Content-Type: application/json' --data '{"a":1,"b":1}' '0.0.0.0:3000' +$ curl -X 'POST' --header 'Content-Type: application/json' --data '{"a":1,"b":1}' '0.0.0.0:8080' HTTP/1.1 200 OK Content-Length: 12