这个问题有办法解决么?
$ NODE_ENV=production node app.js
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and obviously only work within a single process.
回复 (2)
Y
使用connect-mongo或connect-redis代替MemoryStore 存储session
F
引用 yeahcheung使用connect mongo或connect redis代替MemoryStore 存储session
Got it. Thank you.
参与回复
登录后即可参与回复。登录