mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Use the env script as a whole just in case the script fully changes.
This commit is contained in:
parent
73118c8d79
commit
fe0b128eb4
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { PUBLIC_UMAMI_DO_NOT_TRACK, PUBLIC_UMAMI_URL, PUBLIC_UMAMI_ID } from '$env/static/public';
|
||||
const analyticsURL = `https://${PUBLIC_UMAMI_URL}/umami.js`;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
|
@ -9,6 +8,6 @@
|
|||
defer
|
||||
data-website-id={PUBLIC_UMAMI_ID}
|
||||
data-do-not-track={PUBLIC_UMAMI_DO_NOT_TRACK}
|
||||
src={analyticsURL}
|
||||
src={PUBLIC_UMAMI_URL}
|
||||
></script>
|
||||
</svelte:head>
|
||||
|
|
|
|||
Loading…
Reference in a new issue