feat: add integrity to script tag

This commit is contained in:
Bart van der Braak 2024-02-22 00:37:54 +01:00
parent 54fc54906b
commit 8378c58d3c
2 changed files with 2 additions and 0 deletions

View file

@ -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="{}"

View file

@ -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%"
></script>
</head>
<body