frontend: apply bearer token to centralized API requests

This commit is contained in:
2026-02-21 15:03:13 -03:00
parent b25e508a00
commit c1a7011d71
4 changed files with 59 additions and 19 deletions

View File

@@ -112,6 +112,7 @@ services:
context: ./frontend
environment:
VITE_API_BASE: ${VITE_API_BASE:-http://localhost:8000/api/v1}
VITE_API_TOKEN: ${VITE_API_TOKEN:-${USER_API_TOKEN:-}}
ports:
- "${HOST_BIND_IP:-127.0.0.1}:5173:5173"
volumes: