From ed6a80c324c23d0a56224bd644411ff294c9c657 Mon Sep 17 00:00:00 2001 From: Anatoly Ostrovsky Date: Wed, 15 Jun 2016 11:22:07 +0300 Subject: [PATCH] Fix koa api example see http://koajs.com/#context --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ccd66a0..ab6757f 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ var app = koa(); var hotMiddleware = require("webpack-hot-middleware")(compiler); app.use(function* (next) { - yield hotMiddleware.bind(null, this.req, this.res); + yield hotMiddleware.bind(null, this.request, this.response); yield next; }); ```