mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-06 04:22:07 +00:00
Update system.ts
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user