This commit is contained in:
cpu
2025-03-31 23:03:23 +02:00
parent 267d262fa6
commit f614e67e8b
3 changed files with 0 additions and 393 deletions

View File

@@ -313,7 +313,6 @@ app.get('/webhook/:click_type', authenticateBasic, async (req, res) => {
batteryLevel: batteryLevel // Use the extracted value
}
// icon: '/path/to/icon.png'
// icon: '/path/to/icon.png'
});
try {
@@ -368,8 +367,6 @@ const closeGracefully = (signal) => {
process.exit(0);
});
// Force close server after 10 seconds
// Force close server after 10 seconds
setTimeout(() => {
logger.error('Could not close connections in time, forcefully shutting down');