✨ 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_GOOGLE_AUTH_ENABLED=true
|
||||||
ENV VITE_GITHUB_AUTH_ENABLED=true
|
ENV VITE_GITHUB_AUTH_ENABLED=true
|
||||||
ENV VITE_CAPTCHA_ENABLED=true
|
ENV VITE_CAPTCHA_ENABLED=true
|
||||||
|
#ENV VITE_PLAUSIBLE_DATA_URL=
|
||||||
# change working directory
|
# change working directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|||||||
@@ -11,13 +11,6 @@
|
|||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<!-- <link rel="icon" href="%sveltekit.assets%/favicon.png" />-->
|
<!-- <link rel="icon" href="%sveltekit.assets%/favicon.png" />-->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<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>
|
<script>
|
||||||
window.plausible =
|
window.plausible =
|
||||||
window.plausible ||
|
window.plausible ||
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
console.log('After nav');
|
console.log('After nav');
|
||||||
}
|
}
|
||||||
});*/
|
});*/
|
||||||
|
const plausible_data_url = import.meta.env.VITE_PLAUSIBLE_DATA_URL;
|
||||||
|
|
||||||
if (browser) {
|
if (browser) {
|
||||||
pathname.set(window.location.pathname);
|
pathname.set(window.location.pathname);
|
||||||
@@ -62,6 +63,17 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</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}
|
{#if $navbarVisible}
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<div class="pt-16 h-screen">
|
<div class="pt-16 h-screen">
|
||||||
|
|||||||
Reference in New Issue
Block a user