umami only in prod

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

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

Loading…
Cancel
Save