use ip for now instead of localhost
This commit is contained in:
@@ -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"
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user