diff --git a/backend/src/index.js b/backend/src/index.js index 8e246d8..5185e6a 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -52,7 +52,7 @@ if (frontendExists) { app.get('*', (req, res) => { res.json({ message: "What's The Point API - Frontend running separately", - frontend: "http://localhost:5173" + frontend: "http://192.168.1.70:5173" }); }); } diff --git a/docker-compose.yml b/docker-compose.yml index da8ed33..7ebe575 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: dockerfile: Dockerfile.dev restart: unless-stopped environment: - VITE_API_URL: http://localhost:4000/api + VITE_API_URL: http://192.168.1.70:4000/api depends_on: - backend ports: