veza/apps/web/src/vite-env.d.ts
senke bd8ef90ef6 fix(storybook): disable logger network send in Storybook
Set VITE_STORYBOOK=true for storybook dev/build so the logger never
sends POST to /logs/frontend in the isolated UI environment. Prevents
94+ failed network requests in audit and keeps Storybook hermetic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-05 12:16:23 +01:00

18 lines
461 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_WS_URL: string;
readonly VITE_STREAM_URL: string;
readonly VITE_UPLOAD_URL: string;
readonly VITE_APP_NAME: string;
readonly VITE_DEBUG: string;
readonly VITE_USE_MSW: string;
readonly VITE_STORYBOOK?: string;
readonly VITE_FCM_VAPID_KEY: string;
// more env variables...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}