Update system.ts

This commit is contained in:
Jesse Winton
2025-01-06 12:14:45 -05:00
parent 7ae99b9737
commit 7a9890ae65

View File

@@ -1,6 +1,5 @@
import { dev } from '$app/environment';
import { PUBLIC_GROWTH_ENDPOINT, PUBLIC_POSTHOG_API_KEY } from '$env/static/public';
import { PostHog } from 'posthog-node';
import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public';
export const VARS = {
GROWTH_ENDPOINT: PUBLIC_GROWTH_ENDPOINT ?? undefined
@@ -12,7 +11,3 @@ export const ENV = {
PREVIEW: import.meta.env?.VERCEL === '1',
TEST: !!import.meta.env?.VITEST
};
export const posthog = new PostHog(PUBLIC_POSTHOG_API_KEY, {
host: 'https://eu.i.posthog.com'
});