umami only in prod

master
Niko 1 year ago
parent 2397e5bc6f
commit b45364c598
  1. 4
      src/layouts/MainLayout.astro

@ -148,9 +148,13 @@ const githubEditUrl = `${CONFIG.GITHUB_EDIT_URL}/${currentFile}`;
</aside>
</main>
<Footer path={currentFile} />
{
import.meta.env.MODE != "development" && (
<Umami
dataId="20626904-aeef-44b5-b016-2459fe244d80"
site="https://log.nextgraph.org/umami.js"
/>
)
}
</body>
</html>

Loading…
Cancel
Save