mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-04 18:51:20 +00:00
feat: add integrity to script tag
This commit is contained in:
parent
54fc54906b
commit
8378c58d3c
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
SERVER_PB="http://localhost:8090"
|
SERVER_PB="http://localhost:8090"
|
||||||
PUBLIC_CLIENT_PB="http://127.0.0.1:8090"
|
PUBLIC_CLIENT_PB="http://127.0.0.1:8090"
|
||||||
PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com"
|
PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com"
|
||||||
|
PUBLIC_PLAUSIBLE_INTEGRITY=""
|
||||||
MSID_ASSOCIATION="{}"
|
MSID_ASSOCIATION="{}"
|
|
@ -16,6 +16,7 @@
|
||||||
defer
|
defer
|
||||||
data-domain="omnidash.io"
|
data-domain="omnidash.io"
|
||||||
src="https://%sveltekit.env.PUBLIC_PLAUSIBLE_DOMAIN%/js/script.js"
|
src="https://%sveltekit.env.PUBLIC_PLAUSIBLE_DOMAIN%/js/script.js"
|
||||||
|
integrity="%sveltekit.env.PUBLIC_PLAUSIBLE_INTEGRITY%"
|
||||||
></script>
|
></script>
|
||||||
</head>
|
</head>
|
||||||
<body
|
<body
|
||||||
|
|
Loading…
Reference in a new issue