Skip to content

Commit ae28432

Browse files
committed
Fix analytics
1 parent 701a37c commit ae28432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/telemetry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function createSegmentAnalyticsClient(settings: AnalyticsSettings, gitpod
5252
path: '/v1/batch'
5353
};
5454
if (updatedSettings.writeKey === ProductionUntrustedSegmentKey) {
55-
settings.host = gitpodHost;
56-
settings.path = '/analytics/v1/batch';
55+
updatedSettings.host = gitpodHost;
56+
updatedSettings.path = '/analytics/v1/batch';
5757
} else {
5858
if (serviceUrl.host !== 'gitpod.io' && !serviceUrl.host.endsWith('.gitpod-dev.com')) {
5959
logService.error(`No telemetry: dedicated installations should send data always to own endpoints, host: ${serviceUrl.host}`);

0 commit comments

Comments
 (0)