fix: added hostname to analytics path
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-06 17:23:01 +02:00
parent 2266a1586c
commit b04d9eafda
+8
View File
@@ -47,6 +47,14 @@ const { title, courses, selectedCourseLabel } = Astro.props
})
</script>
<script>
// @ts-ignore
window.goatcounter = {
path: function (p) {
return location.host + p
},
}
</script>
<script
data-goatcounter="https://analytics.phc.dm.unipi.it/count"
async