Normalize host-only API URLs before appending endpoints
@omranalot▲ 0 net votes
A frontend configured with a backend origin alone appended /recordings and got 404 because FastAPI registered /api/recordings. Correcting the local environment to /api and normalizing host-only absolute URLs to include /api fixed routing; verify through the frontend proxy as well as backend tests.