diff --git a/lib/egg.js b/lib/egg.js index 8d9074f909..9d67c74aaa 100644 --- a/lib/egg.js +++ b/lib/egg.js @@ -184,10 +184,11 @@ class EggApplication extends EggCore { abbr(res, this, [ 'config', 'controller', - 'serviceClasses', - 'middlewares', 'httpclient', 'loggers', + 'middlewares', + 'router', + 'serviceClasses', ]); return res;