Adds domain to the path for counter requests.

This commit is contained in:
2025-07-10 15:29:09 -07:00
parent 80ea47644c
commit e73005968d

View File

@@ -4,6 +4,11 @@ const today = new Date();
<footer>
&copy; {today.getFullYear()} Periodic. All rights reserved.
<script>
window.goatcounter = {
path: (path) => `${location.host}${path}`,
};
</script>
<script
data-goatcounter="https://goatcounter.terakoda.com/count"
async