Skip to content

Commit

Permalink
fix guide
Browse files Browse the repository at this point in the history
  • Loading branch information
zhmushan committed Mar 12, 2020
1 parent d68bde7 commit 59bb4c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ app.static("/sample", "./folder/sample");
```ts
const track: MiddlewareFunc = next => c => {
console.log(`request to ${c.path}`);
next(c);
return next(c);
};

// Root middleware
Expand Down
2 changes: 1 addition & 1 deletion docs/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Let's start by implementing a simple middleware feature.
```ts
const track: MiddlewareFunc = next => c => {
console.log(`request to ${c.path}`);
next(c);
return next(c);
};
```

Expand Down

0 comments on commit 59bb4c6

Please sign in to comment.