diff --git a/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--dark.png b/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--dark.png index c2c9bf4b33166..076753ca375ba 100644 Binary files a/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--dark.png and b/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--dark.png differ diff --git a/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--light.png b/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--light.png index 74ac1c339682a..7d3db1995f9df 100644 Binary files a/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--light.png and b/frontend/__snapshots__/exporter-exporter--trends-line-insight-legend--light.png differ diff --git a/frontend/__snapshots__/exporter-exporter--user-paths-insight--light.png b/frontend/__snapshots__/exporter-exporter--user-paths-insight--light.png index 7a1a6ee0a0a6b..333981c508581 100644 Binary files a/frontend/__snapshots__/exporter-exporter--user-paths-insight--light.png and b/frontend/__snapshots__/exporter-exporter--user-paths-insight--light.png differ diff --git a/frontend/__snapshots__/scenes-app-dashboards--show--light.png b/frontend/__snapshots__/scenes-app-dashboards--show--light.png index d5d24b38ba1bb..e8765f06d0267 100644 Binary files a/frontend/__snapshots__/scenes-app-dashboards--show--light.png and b/frontend/__snapshots__/scenes-app-dashboards--show--light.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png index 3b65c7a67f96f..963685ae7abbc 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png and b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png differ diff --git a/frontend/src/toolbar/toolbarPosthogJS.ts b/frontend/src/toolbar/toolbarPosthogJS.ts index cb8cf83d2bdbc..171c44f11a628 100644 --- a/frontend/src/toolbar/toolbarPosthogJS.ts +++ b/frontend/src/toolbar/toolbarPosthogJS.ts @@ -6,7 +6,7 @@ const DEFAULT_API_KEY = 'sTMFPsFhdP1Ssg' const runningOnPosthog = !!window.POSTHOG_APP_CONTEXT const apiKey = runningOnPosthog ? window.JS_POSTHOG_API_KEY : DEFAULT_API_KEY -const apiHost = runningOnPosthog ? window.JS_POSTHOG_HOST : 'https://internal-e.posthog.com' +const apiHost = runningOnPosthog ? window.JS_POSTHOG_HOST : 'https://internal-t.posthog.com' export const toolbarPosthogJS = new PostHog(apiKey || DEFAULT_API_KEY, { host: apiHost, diff --git a/posthog/utils.py b/posthog/utils.py index 65ad2ad135cab..478c149b7ddc2 100644 --- a/posthog/utils.py +++ b/posthog/utils.py @@ -6,7 +6,6 @@ import gzip import hashlib import json -from operator import itemgetter import os import re import secrets @@ -14,16 +13,11 @@ import time import uuid import zlib +from collections.abc import Generator, Mapping from enum import Enum from functools import lru_cache, wraps -from typing import ( - TYPE_CHECKING, - Any, - Optional, - Union, - cast, -) -from collections.abc import Generator, Mapping +from operator import itemgetter +from typing import TYPE_CHECKING, Any, Optional, Union, cast from urllib.parse import unquote, urljoin, urlparse from zoneinfo import ZoneInfo @@ -49,7 +43,10 @@ from posthog.cloud_utils import get_cached_instance_license, is_cloud from posthog.constants import AvailableFeature -from posthog.exceptions import UnspecifiedCompressionFallbackParsingError, RequestParsingError +from posthog.exceptions import ( + RequestParsingError, + UnspecifiedCompressionFallbackParsingError, +) from posthog.git import get_git_branch, get_git_commit_short from posthog.metrics import KLUDGES_COUNTER from posthog.redis import get_client @@ -315,7 +312,7 @@ def render_template( if settings.E2E_TESTING: context["e2e_testing"] = True context["js_posthog_api_key"] = "'phc_ex7Mnvi4DqeB6xSQoXU1UVPzAmUIpiciRKQQXGGTYQO'" - context["js_posthog_host"] = "'https://internal-e.posthog.com'" + context["js_posthog_host"] = "'https://internal-t.posthog.com'" context["js_posthog_ui_host"] = "'https://us.posthog.com'" elif settings.SELF_CAPTURE: @@ -326,7 +323,7 @@ def render_template( context["js_posthog_host"] = "window.location.origin" else: context["js_posthog_api_key"] = "'sTMFPsFhdP1Ssg'" - context["js_posthog_host"] = "'https://internal-e.posthog.com'" + context["js_posthog_host"] = "'https://internal-t.posthog.com'" context["js_posthog_ui_host"] = "'https://us.posthog.com'" context["js_capture_time_to_see_data"] = settings.CAPTURE_TIME_TO_SEE_DATA