This commit is contained in:
@@ -67,7 +67,7 @@ function ago(e){ if(!e) return "never"; const d=Date.now()/1000-e;
|
||||
|
||||
let svgEl=null, byPv=new Map();
|
||||
async function loadSvg(){
|
||||
const r=await fetch("eps_synoptic.svg?t="+Date.now(),{cache:"no-store"});
|
||||
const r=await fetch("eps_synoptic.svg",{cache:"no-store"});
|
||||
const txt=await r.text();
|
||||
document.getElementById("vp").innerHTML=txt;
|
||||
svgEl=document.getElementById("eps-synoptic-svg");
|
||||
@@ -209,7 +209,7 @@ window.addEventListener("resize",fit);
|
||||
|
||||
async function tick(){
|
||||
try{
|
||||
const r=await fetch("eps_status.json?t="+Date.now(),{cache:"no-store"});
|
||||
const r=await fetch("eps_status.json",{cache:"no-store"});
|
||||
if(r.ok) applyData(await r.json());
|
||||
}catch(e){}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user