Improve middleware quickstart. (#385)

This commit is contained in:
Artur Souza 2021-02-12 20:53:36 -08:00 committed by GitHub
parent 78e2b3f655
commit d9da180c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,12 +28,12 @@ helm install my-release ingress-nginx/ingress-nginx
```bash
git clone [-b <dapr_version_tag>] https://github.com/dapr/quickstarts.git
cd quickstarts/middleware/echoapp
cd quickstarts/middleware
```
> **Note**: See <https://github.com/dapr/quickstarts#supported-dapr-runtime-version> for supported tags. Use `git clone https://github.com/dapr/quickstarts.git` when using the edge version of dapr runtime.
1. Examine the ```app.js``` file. You'll see this is a simple Node.js Express web server with a single ```/echo``` route that returns the ```authorization``` header and the ```text``` parameter client passes in:
1. Examine the ```echoapp/app.js``` file. You'll see this is a simple Node.js Express web server with a single ```/echo``` route that returns the ```authorization``` header and the ```text``` parameter client passes in:
```javascript
app.get('/echo', (req, res) => {