docs: Fix minor nitpick in documentation (#987)

master
Shaun Warman 2017-05-21 00:40:08 -05:00 committed by Yiyu He
parent bfce5806c2
commit 302814e7a3
1 changed files with 2 additions and 1 deletions

View File

@ -143,10 +143,11 @@ http.createServer(app.callback()).listen(3000);
```js
const http = require('http');
const https = require('https');
const Koa = require('koa');
const app = new Koa();
http.createServer(app.callback()).listen(3000);
http.createServer(app.callback()).listen(3001);
https.createServer(app.callback()).listen(3001);
```
## app.callback()