diff --git a/client/src/lib/teslaMock.ts b/client/src/lib/teslaMock.ts index f8679c1..b0bc244 100644 --- a/client/src/lib/teslaMock.ts +++ b/client/src/lib/teslaMock.ts @@ -24,7 +24,9 @@ export function isMockEnabled(): boolean { export function getMockScenario(): MockScenario | null { if (typeof window === 'undefined') return null; - if (import.meta.env.PROD) return null; // never in prod build + // Mock is allowed in production too: it only paints the UI with fake data, + // it never reaches the (owner-gated) Fleet API. The visible MOCK chip in + // the top bar makes the state obvious. const urlParam = new URLSearchParams(window.location.search).get('mockTesla'); if (urlParam === 'off') {