mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 16:01:16 +00:00
34ab7ad266
The new admin API clients (audit, credentials, workers) imported Request with four '..' segments instead of three. Vite's import-analysis failed with "Failed to resolve import ../../../../Request" because that path resolves to api/Request, not client/Request. tsc didn't catch it because the resolver was permissive enough to keep going, but the runtime is strict. Matched the existing pattern from roles/getRoles.ts (three dots for Request, four for models). Separately: web was on host port 15173, offset from the canonical 5173 to avoid colliding with a locally-running Vite outside Docker. Nobody actually runs Vite locally in this setup, and the offset makes the URL non-obvious. Moved back to 5173:5173 and updated VITE_APP_URL plus the docs. If a developer one day wants to run a host-side Vite alongside the container, change the mapping back to "15173:5173" — the offset is the escape hatch, not the default.