fix: bind server to 0.0.0.0 to allow external network access
This commit is contained in:
@@ -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}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user