fix: update PostHog api_host fallback domain (#9733)

Update the PostHog `api_host` fallback from `ph.comfy.org` to
`t.comfy.org`.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9733-fix-update-PostHog-api_host-fallback-domain-3206d73d36508107a5d1e1fdfd3ccaec)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Robin Huang
2026-03-10 21:44:26 -07:00
committed by GitHub
parent 4c9b83a224
commit b129d64c5d
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ describe('PostHogTelemetryProvider', () => {
await vi.dynamicImportSettled()
expect(hoisted.mockInit).toHaveBeenCalledWith('phc_test_token', {
api_host: 'https://ph.comfy.org',
api_host: 'https://t.comfy.org',
autocapture: false,
capture_pageview: false,
capture_pageleave: false,

View File

@@ -101,7 +101,7 @@ export class PostHogTelemetryProvider implements TelemetryProvider {
this.posthog = posthogModule.default
this.posthog!.init(apiKey, {
api_host:
window.__CONFIG__?.posthog_api_host || 'https://ph.comfy.org',
window.__CONFIG__?.posthog_api_host || 'https://t.comfy.org',
autocapture: false,
capture_pageview: false,
capture_pageleave: false,