diff --git a/lib/count.js b/src/count.js similarity index 99% rename from lib/count.js rename to src/count.js index cdf1a80..4a75bea 100644 --- a/lib/count.js +++ b/src/count.js @@ -29,7 +29,6 @@ // This is the analytics code for Shareâ‚‚Fedi. It just sends a beacon // to GoatCounter with hardcoded path. This is way more lightweight, performant // and privacy-friendly than the default GC script. - if ( window.location.host === "s2f.kytta.dev" || window.location.host === "share2fedi.kytta.dev" diff --git a/src/pages/index.astro b/src/pages/index.astro index db02368..7432df0 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -47,19 +47,7 @@ const prefilledInstance = searchParameters.get("instance"); href="https://s2f.kytta.dev/" /> - - +