Loopback origin for server-side fetches from proxy.ts to /api/* routes.
Uses request.url for browser redirects; use this for in-process session checks so
the container does not need to reach its own public URL (hairpin NAT / NPM).
Returns string
http://127.0.0.1:<PORT> for the running Next.js server.
Loopback origin for server-side fetches from
proxy.tsto/api/*routes. Usesrequest.urlfor browser redirects; use this for in-process session checks so the container does not need to reach its own public URL (hairpin NAT / NPM).