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
@@ -37,7 +37,7 @@ AUTHENTIK_CLIENT_SECRET=change-me
|
||||
AUTHENTIK_AUDIENCE=headquarter-web
|
||||
|
||||
# Frontend Configuration
|
||||
VITE_API_URL=http://localhost:8000
|
||||
VITE_API_BASE_URL=http://localhost:8000
|
||||
VITE_APP_URL=http://localhost:3000
|
||||
|
||||
# Docker Configuration
|
||||
|
||||
Reference in New Issue
Block a user