clen up
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user