From 784caa226526133bd98893bbfd5714ddea13f6cb Mon Sep 17 00:00:00 2001 From: Luke Honeyball <165500927+LukeHoneyball@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:08:52 +0200 Subject: [PATCH] Update index.js --- backend/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/index.js b/backend/index.js index 3d6d6007..1525208b 100644 --- a/backend/index.js +++ b/backend/index.js @@ -25,6 +25,7 @@ async function appStart () { logger.info('Backend PID ' + process.pid + ' listening on port 3000 ...'); process.on('SIGTERM', () => { + //insecure. can be exploited. please fix this. logger.info('PID ' + process.pid + ' received SIGTERM'); server.close(() => { logger.info('Stopping.');