diff --git a/apps/web/src/config/env.mjs b/apps/web/src/config/env.mjs index adce922c4..940f34719 100644 --- a/apps/web/src/config/env.mjs +++ b/apps/web/src/config/env.mjs @@ -15,14 +15,14 @@ if (process.env.CI === 'true' || process.env.DOCKER_BUILD || process.env.NODE_EN // Set env object with default values for CI builds env = { NODE_ENV: process.env.NODE_ENV || 'development', - NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || '', - NEXT_PUBLIC_API2_URL: process.env.NEXT_PUBLIC_API2_URL || '', - NEXT_PUBLIC_WEB_SOCKET_URL: process.env.NEXT_PUBLIC_WEB_SOCKET_URL || '', - NEXT_PUBLIC_URL: process.env.NEXT_PUBLIC_URL || '', - NEXT_PUBLIC_SUPABASE_URL: process.env.NEXT_PUBLIC_SUPABASE_URL || '', - NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || '', + NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3000', + NEXT_PUBLIC_API2_URL: process.env.NEXT_PUBLIC_API2_URL || 'http://localhost:3001', + NEXT_PUBLIC_WEB_SOCKET_URL: process.env.NEXT_PUBLIC_WEB_SOCKET_URL || 'ws://localhost:3000', + NEXT_PUBLIC_URL: process.env.NEXT_PUBLIC_URL || 'http://localhost:3002', + NEXT_PUBLIC_SUPABASE_URL: process.env.NEXT_PUBLIC_SUPABASE_URL || 'http://localhost:54321', + NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || 'placeholder-anon-key', NEXT_PUBLIC_POSTHOG_KEY: process.env.NEXT_PUBLIC_POSTHOG_KEY || '', - NEXT_PUBLIC_POSTHOG_HOST: process.env.NEXT_PUBLIC_POSTHOG_HOST || '', + NEXT_PUBLIC_POSTHOG_HOST: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://app.posthog.com', POSTHOG_API_KEY: process.env.POSTHOG_API_KEY || '', POSTHOG_ENV_ID: process.env.POSTHOG_ENV_ID || '', NEXT_PUBLIC_USER: process.env.NEXT_PUBLIC_USER || '',