express 对于没有设定的请求路径,默认返回 Can not get XXX 如果定制404,需要通过中间件来完成。 // 只需要在路由之后增加以下代码app.use(function(req, res) { // ...})