# Production build env for the SPA (auto-loaded by `vite build`, which the Tauri # desktop bundle runs via beforeBuildCommand). NOT loaded by `vite` dev. # # The desktop shell serves the bundled SPA from tauri://localhost (no proxy, not # same-origin), so the SPA must reach Fastify by absolute origin. This is the # appliance's local Fastify address. Not a secret — committed for reproducible # desktop builds. Override per-deployment if Fastify binds elsewhere. # # NOTE: a plain browser prod build (Fastify serving dist/ same-origin) does NOT # want this set. If you build the SPA for that, override VITE_API_BASE="" . VITE_API_BASE=http://127.0.0.1:3000