use ip for now instead of localhost
This commit is contained in:
@@ -52,7 +52,7 @@ if (frontendExists) {
|
|||||||
app.get('*', (req, res) => {
|
app.get('*', (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
message: "What's The Point API - Frontend running separately",
|
message: "What's The Point API - Frontend running separately",
|
||||||
frontend: "http://localhost:5173"
|
frontend: "http://192.168.1.70:5173"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ services:
|
|||||||
dockerfile: Dockerfile.dev
|
dockerfile: Dockerfile.dev
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
VITE_API_URL: http://localhost:4000/api
|
VITE_API_URL: http://192.168.1.70:4000/api
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user