Files
bridge/app
zeekay f4e17d69cf bridge: wire tenant brand to the SPA at runtime (white-label)
The app/bridge SPA baked @luxfi/brand at build time and the Go server served
brand at /envs.js while the SPA loads /__ENV.js — so a white-label tenant
(e.g. zooai/bridge-shim) rendered the Lux brand. Complete the stated
'jurisdiction-neutral, tenant supplies brand' design:

- bridge.config.ts: brand name/favicon/primaryColor/supportEmail/docsUrl are now
  window.__ENV-overridable (logoUrl already was); @luxfi/brand stays the
  fallback so the Lux tenant is byte-unchanged when no override is set.
- frontend.go: serve /__ENV.js (the endpoint the SPA actually loads) projecting
  the tenant brand+IAM into the BRIDGE_* keys; applyBrandMetadata() then themes
  title/favicon/logo/color at mount. Empty when no tenant → Lux fallback.
- main.go: pass the tenant config into NewFrontend.
2026-07-08 06:53:45 -07:00
..