There was an error while loading. Please reload this page.
1 parent db1bf5d commit 8fc2cf2Copy full SHA for 8fc2cf2
1 file changed
src/routes/+layout.svelte
@@ -252,7 +252,7 @@
252
{#if !noEmbedUrls.some((url) => page.url.pathname.startsWith(url))}
253
<link rel="icon" href="/favicon.png" sizes="32x32" type="image/png" />
254
{/if}
255
- {#if PUBLIC_UMAMI_SCRIPT_URL && PUBLIC_UMAMI_WEBSITE_ID && !dev && !building}
+ {#if PUBLIC_UMAMI_SCRIPT_URL && PUBLIC_UMAMI_WEBSITE_ID && !dev && !building && browser && window?.location?.origin}
256
<script
257
defer
258
src={PUBLIC_UMAMI_SCRIPT_URL}
0 commit comments