chore(core): Switch PostHog environment variables to EU region (#27115)

This commit is contained in:
Joco-95 2026-04-20 18:21:37 +02:00 committed by GitHub
parent 3b15e470b5
commit b42c890c5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -4,11 +4,11 @@ import { Config, Env, Nested } from '../decorators';
class PostHogConfig {
/** PostHog project API key for product analytics. */
@Env('N8N_DIAGNOSTICS_POSTHOG_API_KEY')
apiKey: string = 'phc_4URIAm1uYfJO7j8kWSe0J8lc8IqnstRLS7Jx8NcakHo';
apiKey: string = 'phc_kMstNfAgBcBkWSh6KdsgN09heqqNe5VNmalHP1Ni9Q4';
/** PostHog API host URL. */
@Env('N8N_DIAGNOSTICS_POSTHOG_API_HOST')
apiHost: string = 'https://us.i.posthog.com';
apiHost: string = 'https://ph.n8n.io';
}
@Config

View file

@ -425,8 +425,8 @@ describe('GlobalConfig', () => {
frontendConfig: '1zPn9bgWPzlQc0p8Gj1uiK6DOTn;https://telemetry.n8n.io',
backendConfig: '1zPn7YoGC3ZXE9zLeTKLuQCB4F6;https://telemetry.n8n.io',
posthogConfig: {
apiKey: 'phc_4URIAm1uYfJO7j8kWSe0J8lc8IqnstRLS7Jx8NcakHo',
apiHost: 'https://us.i.posthog.com',
apiKey: 'phc_kMstNfAgBcBkWSh6KdsgN09heqqNe5VNmalHP1Ni9Q4',
apiHost: 'https://ph.n8n.io',
},
},
aiAssistant: {