From ded3c62f0965a00a0b64e3398fbc7638571b14da Mon Sep 17 00:00:00 2001 From: dead-horse Date: Thu, 25 Jan 2018 18:53:51 +0800 Subject: [PATCH] fix: this.handleRequest replace app.handleRequest --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 02c7df0..4d66266 100644 --- a/lib/application.js +++ b/lib/application.js @@ -131,7 +131,7 @@ app.callback = function(){ return function handleRequest(req, res){ var ctx = self.createContext(req, res); - app.handleRequest(ctx, fn); + self.handleRequest(ctx, fn); } };