Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-nico committed May 2, 2016
1 parent 91f6a23 commit 2b804c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -66,7 +66,7 @@ Consider giving your middlewares names when they appear as `<anonymous>`. Often,

``` js
app.use(function (req, res, next) {
console.log('Hello world'!);
console.log('Hello world!');
next();
});
```
Expand All @@ -75,7 +75,7 @@ Give the middleware a name like this:

``` js
app.use(function __helloWorld(req, res, next) { // <-- '__helloWorld' will be printed now
console.log('Hello world'!);
console.log('Hello world!');
next();
});
```
Expand Down

0 comments on commit 2b804c6

Please sign in to comment.