From 450bfcea194d0d195f1ed8c41a1a1f37e02e4f51 Mon Sep 17 00:00:00 2001 From: Nathan Sarrazin Date: Mon, 12 Feb 2024 10:16:18 +0100 Subject: [PATCH] Only use plausible if PUBLIC_ORIGIN is set (#814) --- src/routes/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 8a4f1ad0192..0b4ce63034c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -157,7 +157,7 @@ href="{PUBLIC_ORIGIN || $page.url.origin}{base}/{PUBLIC_APP_ASSETS}/manifest.json" /> - {#if PUBLIC_PLAUSIBLE_SCRIPT_URL} + {#if PUBLIC_PLAUSIBLE_SCRIPT_URL && PUBLIC_ORIGIN}