如果用開發模式啟動程序是沒有問題的,但是切換到生產模式就會拋出以下錯誤:Warning:connect.session() MemoryStore is not designed for a production environment, as it will leakmemory, and will not scale past a single process.server connect,the port:3030
求解:nodejs 環境變量NODE_NEV 產模式啟動發出警告
慕的地8271018
2018-11-29 22:15:22