fix: bind server to 0.0.0.0 to allow external network access

This commit is contained in:
Giuseppe Raffa
2026-03-28 17:08:37 +01:00
parent 33b9be13de
commit 7f24ca4079

View File

@@ -68,6 +68,6 @@ const paramsRoutes = require('./routes/params')
app.use('/params', paramsRoutes)
// Avvio del server
app.listen(PORT, () => {
app.listen(PORT, '0.0.0.0', () => {
console.log(`Started on port ${PORT}`);
});