fix(healthcheck): use dynamic PORT, IPv4 127.0.0.1, and bind 0.0.0.0

This commit is contained in:
2026-08-25 02:56:42 +03:30
parent 38e048067b
commit b708a6b777
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ const startServer = async () => {
startTempBucketCleanupJob();
startClassReminderJob();
app.listen(PORT, () => {
logger.info(`Gameno API listening on http://localhost:${PORT} [${config.NODE_ENV}]`);
app.listen(PORT, '0.0.0.0', () => {
logger.info(`Gameno API listening on http://0.0.0.0:${PORT} [${config.NODE_ENV}]`);
});
};