node.js 学习笔记

1、req.flash() require session,在添加router的时候需要放在app.use(session({}))之后。

原文地址:https://www.cnblogs.com/norma/p/6691941.html