新手见谅404页面处理
自己做middleware吧, 比如:
app.use(function *notFound(next) { if (this.status == 404) { console.log(this.url, 'requested but no route matches.'); } else { yield next; } });
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
自己做middleware吧, 比如: