diff --git a/assets/index.js b/assets/index.js index d8e1a51..e04d494 100644 --- a/assets/index.js +++ b/assets/index.js @@ -75,7 +75,10 @@ function updateClientInfo() { .then((response) => { const clientInfo = response.headers.get("X-Client-Info"); if (clientInfo) { - document.querySelector(".location").textContent = clientInfo; + // i hate http why does it do this + // this is a hack to fix the weird  character that shows up + const correctedInfo = clientInfo.replace(/Â?µs/g, "µs"); + document.querySelector(".location").textContent = correctedInfo; } }) .catch((error) => {