docs: Fix minor nitpick in documentation (#987)
This commit is contained in:
parent
bfce5806c2
commit
302814e7a3
1 changed files with 2 additions and 1 deletions
|
@ -143,10 +143,11 @@ http.createServer(app.callback()).listen(3000);
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const http = require('http');
|
const http = require('http');
|
||||||
|
const https = require('https');
|
||||||
const Koa = require('koa');
|
const Koa = require('koa');
|
||||||
const app = new Koa();
|
const app = new Koa();
|
||||||
http.createServer(app.callback()).listen(3000);
|
http.createServer(app.callback()).listen(3000);
|
||||||
http.createServer(app.callback()).listen(3001);
|
https.createServer(app.callback()).listen(3001);
|
||||||
```
|
```
|
||||||
|
|
||||||
## app.callback()
|
## app.callback()
|
||||||
|
|
Loading…
Reference in a new issue