📜  express 中间件状态码总是 200 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:36.107000             🧑  作者: Mango

代码示例1
wrap your code with event

res.on('finish', () => {
// do some thing here

})