fix(healthcheck): use dynamic PORT, IPv4 127.0.0.1, and bind 0.0.0.0
This commit is contained in:
@@ -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}]`);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user