From 302814e7a3ae214e0791edd9a513db9cba4f9b61 Mon Sep 17 00:00:00 2001 From: Shaun Warman Date: Sun, 21 May 2017 00:40:08 -0500 Subject: [PATCH] docs: Fix minor nitpick in documentation (#987) --- docs/api/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/index.md b/docs/api/index.md index f98a247..a2a23a0 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -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()