Fix posthog URL

This commit is contained in:
Jackson Harper
2023-09-13 13:23:26 +08:00
parent 8767e0b71d
commit e83f1424bf

View File

@ -18,7 +18,7 @@ const initAnalytics = (user?: UserBasicData): void => {
}
if (posthogApiKey) {
posthog.init(posthogApiKey, {
api_host: `${webBaseURL}/collect/`,
api_host: `${webBaseURL}/collect`,
advanced_disable_decide: true,
advanced_disable_feature_flags: true,
advanced_disable_toolbar_metrics: true,