似乎还是除了问了,Cannot GET /admin/update/57d5557afd6d89e434fb32bf
2016-09-17
1.npm install morgan
2.var morgan = require('morgan');
3.var logger = morgan('dev');
4.app.use(logger);
2.var morgan = require('morgan');
3.var logger = morgan('dev');
4.app.use(logger);
2016-09-17
//http://expressjs.com/zh-cn/guide/migrating-4.html
var morgan = require('morgan')
app.use(morgan(':method :url :status'))
var morgan = require('morgan')
app.use(morgan(':method :url :status'))
2016-09-16
下面说的老师用这个办法持久化,然后使用express-session模块,然而这个真的过时了,如果使用cookie-session ,已经实现了cookie本地持久化的操作,所以说使用express-session 应该被舍弃了
2016-09-12