From 94d1ec1a9d0d148e29830add8dcc8fda9a208292 Mon Sep 17 00:00:00 2001 From: Clawd Agent Date: Mon, 2 Mar 2026 09:12:57 +0100 Subject: [PATCH] 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. --- backend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.js b/backend/src/index.js index 771b1f0..cc21852 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -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}`); });