fix: make backend listen on 0.0.0.0 instead of localhost

This allows Traefik and other containers on the docker network to reach the backend API.
This commit is contained in:
2026-03-02 09:12:57 +01:00
parent f941011130
commit 994f406050
+1 -1
View File
@@ -394,7 +394,7 @@ app.get('/api/today/:programId', async (req, res) => {
} }
}); });
app.listen(PORT, () => { app.listen(PORT, '0.0.0.0', () => {
console.log(`Gravl API running on port ${PORT}`); console.log(`Gravl API running on port ${PORT}`);
}); });