mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-22 03:13:00 +03:00
parent
ea7ea600b2
commit
47fcfac549
@ -22,9 +22,7 @@ if (
|
||||
process.env.NEXT_PUBLIC_POSTHOG_HOST != null
|
||||
) {
|
||||
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
|
||||
ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
||||
api_host: `${process.env.NEXT_PUBLIC_FRONTEND_URL}/ingest`,
|
||||
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
||||
opt_in_site_apps: true,
|
||||
disable_session_recording: true,
|
||||
});
|
||||
|
@ -3,11 +3,5 @@
|
||||
"deploymentEnabled": {
|
||||
"main": false
|
||||
}
|
||||
},
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/ingest/:path*",
|
||||
"destination": "https://app.posthog.com/:path*"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user