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
|
process.env.NEXT_PUBLIC_POSTHOG_HOST != null
|
||||||
) {
|
) {
|
||||||
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
|
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
|
||||||
ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
api_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`,
|
|
||||||
opt_in_site_apps: true,
|
opt_in_site_apps: true,
|
||||||
disable_session_recording: true,
|
disable_session_recording: true,
|
||||||
});
|
});
|
||||||
|
@ -3,11 +3,5 @@
|
|||||||
"deploymentEnabled": {
|
"deploymentEnabled": {
|
||||||
"main": false
|
"main": false
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"rewrites": [
|
|
||||||
{
|
|
||||||
"source": "/ingest/:path*",
|
|
||||||
"destination": "https://app.posthog.com/:path*"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user