fix: api_host mix panel
This commit is contained in:
parent
7338080666
commit
36dfb8b388
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ export function initMixpanel(): void {
|
|||
void ensureTelemetryStatus().then((enabled) => {
|
||||
if (!enabled) return;
|
||||
if (window.__mixpanel_initialized) return;
|
||||
mixpanel.init(MIXPANEL_TOKEN as string, { track_pageview: false });
|
||||
mixpanel.init(MIXPANEL_TOKEN as string, { track_pageview: false, api_host: 'https://api-eu.mixpanel.com', });
|
||||
const appVersion = window.env?.APP_VERSION;
|
||||
if (appVersion) {
|
||||
mixpanel.register({ app_version: appVersion });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue