chore: bind servers to 0.0.0.0 to allow external network access

This commit is contained in:
Giuseppe Raffa
2026-03-31 20:07:54 +02:00
parent 7f24ca4079
commit ba6941fd2a
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ app.use('/', authRoutes);
// Startup
async function start() {
await database.initDb();
app.listen(PORT, () => {
app.listen(PORT, '0.0.0.0', () => {
console.log(`[AUTH] Started on port ${PORT}`);
});
}