Skip to content

Commit

Permalink
Turn on server.
Browse files Browse the repository at this point in the history
Reviewed by @tolmasky.
  • Loading branch information
tolmasky committed Jul 22, 2017
1 parent 7294eae commit a7c5525
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ You can also use the [env preset](http://babeljs.io/docs/plugins/preset-env/) wi

The obligatory hello world application:

<!-- runkit:endpoint -->
```js
const Koa = require('koa');
const app = new Koa();
Expand All @@ -74,6 +75,7 @@ app.listen(3000);
middleware to execute downstream, the stack will unwind and each middleware is resumed to perform
its upstream behaviour.

<!-- runkit:endpoint -->
```js
const Koa = require('koa');
const app = new Koa();
Expand Down

0 comments on commit a7c5525

Please sign in to comment.