app.router

中英双语

在 Express 4 中删除的 app.router 对象在 Express 5 中卷土重来。在新版本中,此对象只是对基本 Express 路由器的引用,这与 Express 3 中的应用程序必须显式加载它不同。