🐘🎅 Checkpoint

./server.js:933874/37
This commit is contained in:
Glitch (hello-express) 2019-11-03 19:19:00 +00:00
parent d36587f449
commit c8ab1a6c26
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ const listener = app.listen(process.env.PORT, function() {
console.log("Your app is listening on port " + listener.address().port);
});
setTimeout(() => {
}, 10 * 1000)
if (process.env.PROJECT_DOMAIN != "") {
process.on("SIGTERM", function() {
console.log("SIGTERM received, sending SOS to Resurrect...");