This commit is contained in:
@@ -33,7 +33,9 @@ Frontend API URL comes from `NUXT_PUBLIC_API_BASE`
|
||||
(default `http://localhost:5000`, read via `runtimeConfig.public.apiBase`). The frontend image
|
||||
builds it empty: the browser then calls `/api` on its own origin, which nginx routes to
|
||||
`backend:5000`, while the Nuxt server's own (SSR) `/api` calls go through a `routeRules` proxy
|
||||
aimed at `NUXT_API_PROXY_TARGET` (`http://backend:5000` baked in at image build).
|
||||
aimed at `NUXT_API_PROXY_TARGET` (`https://mathew.aranroig.com` baked in at image build — the
|
||||
public address nginx routes on to the backend, since the frontend may not reach containers
|
||||
by service name).
|
||||
|
||||
There is **no test suite, linter, or typecheck script** configured — don't invent commands.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user