Skip to content

Commit

Permalink
fix: no analytics for local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
eeston committed Jul 4, 2022
1 parent b77bb5a commit 28244c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function MyApp({ Component, pageProps }) {
<>
<Head>
<meta />
{process.browser && (
{process.browser && process.env.NODE_ENV === 'production' && (
<script async data-no-cookie data-api="/_hive" src="/bee.js" />
)}
<link rel="shortcut icon" href="/favicon.png" type="image/x-icon" />
Expand Down

0 comments on commit 28244c9

Please sign in to comment.