Skip to content

Commit

Permalink
change env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
andriidudar committed Sep 10, 2024
1 parent 477a560 commit 7bbb9fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/opik-frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Comet Opik</title>
<script type='text/javascript' src='../../config.js?version=1725550071774'></script>
<script type='text/javascript' src='../config.js?version=1725550071774'></script>
</head>
<body class="size-full">
<div class="size-full" id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions apps/opik-frontend/src/plugins/comet/init.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { initAnalytics } from "./analytics";

type EnvironmentVariablesOverwrite = {
SEGMENT_ID?: string;
OPIK_SEGMENT_ID?: string;
};

declare global {
Expand All @@ -13,4 +13,4 @@ declare global {
}
}

initAnalytics(window.environmentVariablesOverwrite.SEGMENT_ID);
initAnalytics(window.environmentVariablesOverwrite.OPIK_SEGMENT_ID);

0 comments on commit 7bbb9fa

Please sign in to comment.