diff options
Diffstat (limited to 'static/boot.js')
| -rw-r--r-- | static/boot.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/boot.js b/static/boot.js index 0bec294..8b18f8f 100644 --- a/static/boot.js +++ b/static/boot.js @@ -52,10 +52,10 @@ return; const script = document.createElement("script"); - script.src = "https://stats.wsap.dev/count.js"; + script.src = "/count.js"; script.async = true; script.defer = true; - script.setAttribute("data-goatcounter", "https://stats.wsap.dev/count"); + script.setAttribute("data-goatcounter", `${window.location.origin}/count`); script.setAttribute("data-goatcounter-script", "true"); document.head.appendChild(script); }; |
