From 3febab43840a22e0d8408e3a3b9250e80ded32b2 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 11 Nov 2024 15:21:46 +0100 Subject: [PATCH] fix(envVars): fallback POSTHOG_API_HOST to eu.i.posthog.com --- app/services/env/web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/env/web.ts b/app/services/env/web.ts index a5c87e330..4555ba6ad 100644 --- a/app/services/env/web.ts +++ b/app/services/env/web.ts @@ -9,7 +9,7 @@ const envFromNode = () => export function config() { const env = envFromBrowser() ?? envFromNode() ?? {}; return { - POSTHOG_API_HOST: env.POSTHOG_API_HOST?.trim(), + POSTHOG_API_HOST: env.POSTHOG_API_HOST?.trim() ?? "eu.i.posthog.com", POSTHOG_API_KEY: env.POSTHOG_API_KEY?.trim(), SENTRY_DSN: env.SENTRY_DSN?.trim(), ENVIRONMENT: env.ENVIRONMENT ?? "local",