From 826a5b8e9ec3c3b51df708b198d0a179c1815167 Mon Sep 17 00:00:00 2001 From: Kevin Gimbel Date: Tue, 28 Mar 2023 03:54:20 +0200 Subject: [PATCH 1/3] fix: wrong port in Rust example (#683) If I'm not mistaken the port should be `8080`, not `3000`, based on the `fx up -p 8080 func.rs` command. --- examples/functions/Rust/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 05bc26e359ec05c54de7b51aecf89bc012e8957f Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 23 May 2023 13:54:06 +0200 Subject: [PATCH 2/3] correct `fx up -p` usage in node.js example (#682) --- examples/functions/JavaScript/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` From 7d111e13bcd140801083864897975b1819d35056 Mon Sep 17 00:00:00 2001 From: guangwu Date: Wed, 27 Sep 2023 18:33:12 +0800 Subject: [PATCH 3/3] fix: typo (#684) Signed-off-by: guoguangwu --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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