fix: align env var names for frontend API URL
The frontend code uses VITE_API_BASE_URL but docker-compose files and .env.example were setting VITE_API_URL, causing the login redirect to fall back to localhost:8000. - Update docker-compose.traefik.yml: VITE_API_URL → VITE_API_BASE_URL - Update docker-compose.yml: VITE_API_URL → VITE_API_BASE_URL - Update .env.example: VITE_API_URL → VITE_API_BASE_URL
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: hq-web
|
||||
environment:
|
||||
VITE_API_URL: http://localhost:8000
|
||||
VITE_API_BASE_URL: http://localhost:8000
|
||||
ports:
|
||||
- "3000:80"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user