fix: this.handleRequest replace app.handleRequest

This commit is contained in:
dead-horse 2018-01-25 18:53:51 +08:00
parent 73f1cec7bb
commit ded3c62f09

View file

@ -131,7 +131,7 @@ app.callback = function(){
return function handleRequest(req, res){ return function handleRequest(req, res){
var ctx = self.createContext(req, res); var ctx = self.createContext(req, res);
app.handleRequest(ctx, fn); self.handleRequest(ctx, fn);
} }
}; };