Skip to content

Commit

Permalink
Merge pull request #919 from thkruz/develop
Browse files Browse the repository at this point in the history
fix: fix analytics on localhost
  • Loading branch information
thkruz authored Aug 16, 2024
2 parents 90e53fe + 4b357e8 commit 8c992b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8c992b7

Please sign in to comment.