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>
18 lines
461 B
TypeScript
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;
|
|
}
|