fix middleware gif, close #322

This commit is contained in:
dead_horse 2014-08-04 00:37:49 +08:00
parent 1605f33760
commit a7b6ed0529
2 changed files with 1 additions and 1 deletions

View file

@ -38,7 +38,7 @@ app.use(function *(next){
while any code after is the "bubble" phase. This crude gif illustrates how ES6 generators allow us
to properly utilize stack flow to implement request and response flows:
![koa middleware](https://i.cloudup.com/N7L5UakJo0.gif)
![koa middleware](/docs/middleware.gif)
1. Create a date to track duration
2. Yield control to the next middleware

BIN
docs/middleware.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB