disable favicon

This commit is contained in:
soruh 2023-06-11 05:35:10 +02:00
parent 75c12677d9
commit e609cb0f44
3 changed files with 1 additions and 4 deletions

View File

@ -2,6 +2,7 @@
<html>
<head>
<link rel="icon" href="data:,">
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>Centralex State</title>

View File

@ -12,12 +12,10 @@ body {
.visible {
opacity: 1;
/* visibility: visible; */
transition: opacity 500ms linear;
}
.hidden {
/* visibility: hidden; */
opacity: 0.2;
transition: opacity 6000ms linear;
}

View File

@ -22,7 +22,6 @@ window.onload = () => {
evtSource = new EventSource("/events");
evtSource.addEventListener("change", event => {
last_update.innerText = `last update at ${new Date(+event.data * 1000)}`;
fetch("/data")
.then(res => res.json())
@ -33,7 +32,6 @@ window.onload = () => {
clearTimeout(ping_timeout);
ping_timeout = setTimeout(connect_event_source, timeout_duration);
console.log("ping", new Date());
last_update.innerText = `last update at ${new Date(+event.data * 1000)}`;
connected.className = "visible";