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

@@ -71,7 +71,7 @@ app.get('/sessions/:sensorId/csv', async (req, res) => {
// --- HTTP server + WebSocket per watchers live ---
const server = app.listen(process.env.PORT, () => {
const server = app.listen(process.env.PORT, '0.0.0.0', () => {
console.log(`Realtime on port ${process.env.PORT}`);
});