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); } };