Skip to content

Commit b2f9b66

Browse files
committed
feat(webapp): set PostHog ui_host so the toolbar loads from PostHog
1 parent cc19156 commit b2f9b66

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/webapp/app/hooks/usePostHog.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export const usePostHog = (apiKey?: string, logging = false, debug = false): voi
1919
// Same-origin first-party proxy (see app/routes/ph.$.ts) that forwards to
2020
// PostHog Cloud EU server-side.
2121
api_host: "/ph",
22+
// Point the toolbar at the real PostHog UI; without it, it falls back to /ph.
23+
ui_host: "https://eu.posthog.com",
2224
cross_subdomain_cookie: true,
2325
opt_in_site_apps: true,
2426
debug,

0 commit comments

Comments
 (0)