mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-22 21:47:29 +00:00
🐘🎅 Checkpoint
./server.js:933874/37
This commit is contained in:
parent
d36587f449
commit
c8ab1a6c26
@ -69,6 +69,10 @@ const listener = app.listen(process.env.PORT, function() {
|
|||||||
console.log("Your app is listening on port " + listener.address().port);
|
console.log("Your app is listening on port " + listener.address().port);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
|
||||||
|
}, 10 * 1000)
|
||||||
|
|
||||||
if (process.env.PROJECT_DOMAIN != "") {
|
if (process.env.PROJECT_DOMAIN != "") {
|
||||||
process.on("SIGTERM", function() {
|
process.on("SIGTERM", function() {
|
||||||
console.log("SIGTERM received, sending SOS to Resurrect...");
|
console.log("SIGTERM received, sending SOS to Resurrect...");
|
||||||
|
Loading…
Reference in New Issue
Block a user