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 30, 2018
1 parent 41257aa commit 6c85b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/index.md
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 6c85b52

Please sign in to comment.