From 6c85b525e32c2139c5d40f98fafb9ee8368f5ef1 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 22 Jul 2017 12:50:34 -0700 Subject: [PATCH] Turn on server. Reviewed by @tolmasky. --- docs/api/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index 504a7f877..2ddc283da 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -48,6 +48,7 @@ You can also use the [env preset](http://babeljs.io/docs/plugins/preset-env/) wi The obligatory hello world application: + ```js const Koa = require('koa'); const app = new Koa(); @@ -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. + ```js const Koa = require('koa'); const app = new Koa();