This commit is contained in:
parent
7a63da4cfc
commit
38c48f3141
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user