From 4b357e804e6b9e5e57054bce5dac59a9c52369b8 Mon Sep 17 00:00:00 2001 From: Theodore Kruczek Date: Fri, 16 Aug 2024 12:25:59 -0400 Subject: [PATCH] fix: fix analytics on localhost --- src/plugins/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugins.ts b/src/plugins/plugins.ts index 2933d217d..0694503d6 100644 --- a/src/plugins/plugins.ts +++ b/src/plugins/plugins.ts @@ -261,7 +261,7 @@ export const uiManagerFinal = (plugins: any): void => { } // Only turn on analytics if on keeptrack.space () - if (window.location.hostname === 'localhost' || window.location.hostname === 'keeptrack.space' || window.location.hostname === 'www.keeptrack.space') { + if (window.location.hostname === 'keeptrack.space' || window.location.hostname === 'www.keeptrack.space') { keepTrackApi.analytics = createAnalytics({ app: 'KeepTrack', version: 100,