From 7afc7e24b60776a71702ae5495d637b1ac4a3d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kiho=20=C2=B7=20Cham?= Date: Mon, 19 Mar 2018 10:08:37 +0800 Subject: [PATCH] feat: display router when log app (#2230) --- lib/egg.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;