1
0
mirror of https://api.glitch.com/git/presence-button synced 2024-12-05 02:37:30 +00:00

🐘🎅 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

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...");