@ -48,14 +48,14 @@ app.use(function(err, req, res, next) {
// listen for TERM signal .e.g. kill
process.on ('SIGTERM', ()=>{
process.exit()
console.info('SIGTERM退出')
});
// listen for INT signal e.g. Ctrl-C
process.on ('SIGINT', ()=>{
console.info('SIGINT退出')
module.exports = app;