From 5bdf0f757611301e567f7c7e5f1731f4aa2f4ab1 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 27 Apr 2025 01:40:01 +0200 Subject: [PATCH] Fixes --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index d4288b8..c33fc6d 100644 --- a/index.js +++ b/index.js @@ -199,10 +199,7 @@ const processLogLine = async (line, test = false) => { await require('./scripts/services/updates.js')(); if (DISCORD_WEBHOOKS_ENABLED && DISCORD_WEBHOOKS_URL) await require('./scripts/services/summaries.js')(); - if (SERVER_ID !== 'development') { - await sendWebhook(`[${repoName}](${repoURL}) has been successfully launched on the device \`${SERVER_ID}\``); - } - + if (SERVER_ID !== 'development') await sendWebhook(`[${repoName}](${repoURL}) has been successfully launched on the device \`${SERVER_ID}\``); log(`Ready! Now monitoring: ${UFW_LOG_FILE}`, 1); process.send && process.send('ready'); })();