Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(frontend) initialize posthog

lebaudantoine11664956c7b9
diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx
index f524befe..d5932a5d 100644
--- a/src/frontend/src/App.tsx
+++ b/src/frontend/src/App.tsx
@@ -13,11 +13,17 @@ import { routes } from './routes'
import './i18n/init'
import { silenceLiveKitLogs } from '@/utils/livekit.ts'
import { queryClient } from '@/api/queryClient'
+import posthog from 'posthog-js'
function App() {
const { i18n } = useTranslation()
useLang(i18n.language)
+ posthog.init('phc_RPYko028Oqtj0c9exLIWwrlrjLxSdxT0ntW0Lam4iom', {
+ api_host: 'https://eu.i.posthog.com',
+ person_profiles: 'always',
+ })
+
const isProduction = import.meta.env.PROD
silenceLiveKitLogs(isProduction)