From 8378c58d3cd599022699ac7d200696b50fcb1b31 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Thu, 22 Feb 2024 00:37:54 +0100 Subject: [PATCH] feat: add integrity to script tag --- .env.example | 1 + src/app.html | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.example b/.env.example index 0071e0a..d096b55 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ SERVER_PB="http://localhost:8090" PUBLIC_CLIENT_PB="http://127.0.0.1:8090" PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com" +PUBLIC_PLAUSIBLE_INTEGRITY="" MSID_ASSOCIATION="{}" \ No newline at end of file diff --git a/src/app.html b/src/app.html index 3270042..349b007 100644 --- a/src/app.html +++ b/src/app.html @@ -16,6 +16,7 @@ defer data-domain="omnidash.io" src="https://%sveltekit.env.PUBLIC_PLAUSIBLE_DOMAIN%/js/script.js" + integrity="%sveltekit.env.PUBLIC_PLAUSIBLE_INTEGRITY%" >