NatureFreshMilk 2019-08-21 13:07:30 +02:00
parent 066167dc21
commit adb973503d
1 changed files with 2 additions and 0 deletions

View File

@ -12,5 +12,7 @@ app.post('/', jsonParser, function(req, res){
res.end();
});
process.on("SIGTERM", () => process.exit(1))
process.on("SIGINT", () => process.exit(1))
app.listen(8080, () => console.log('Listening on http://127.0.0.1:8080'));