✨ Removed plausible from built-in
This commit is contained in:
@@ -12,6 +12,7 @@ ENV VITE_HCAPTCHA=ee81b2a1-acf3-4d20-b2a4-a7ea94c7eba5
|
||||
ENV VITE_GOOGLE_AUTH_ENABLED=true
|
||||
ENV VITE_GITHUB_AUTH_ENABLED=true
|
||||
ENV VITE_CAPTCHA_ENABLED=true
|
||||
#ENV VITE_PLAUSIBLE_DATA_URL=
|
||||
# change working directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
|
||||
@@ -11,13 +11,6 @@
|
||||
<meta name="description" content="" />
|
||||
<!-- <link rel="icon" href="%sveltekit.assets%/favicon.png" />-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="prefetch" href="https://sugar.mawoka.eu.org/" />
|
||||
<script
|
||||
async=""
|
||||
defer=""
|
||||
data-domain="classquiz.mawoka.eu"
|
||||
src="https://sugar.mawoka.eu.org/js/plausible.hash.outbound-links.js"
|
||||
></script>
|
||||
<script>
|
||||
window.plausible =
|
||||
window.plausible ||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
console.log('After nav');
|
||||
}
|
||||
});*/
|
||||
const plausible_data_url = import.meta.env.VITE_PLAUSIBLE_DATA_URL;
|
||||
|
||||
if (browser) {
|
||||
pathname.set(window.location.pathname);
|
||||
@@ -62,6 +63,17 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
{#if plausible_data_url}
|
||||
<link rel="prefetch" href="https://sugar.mawoka.eu.org/" />
|
||||
<script
|
||||
async=""
|
||||
defer=""
|
||||
data-domain={plausible_data_url}
|
||||
src="https://sugar.mawoka.eu.org/js/plausible.hash.outbound-links.js"></script>
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
{#if $navbarVisible}
|
||||
<Navbar />
|
||||
<div class="pt-16 h-screen">
|
||||
|
||||
Reference in New Issue
Block a user