Add server mode to stats

This commit is contained in:
Fred Boniface
2023-03-10 22:12:03 +00:00
parent b09c97e911
commit d328236f16
2 changed files with 2 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ async function get() {
async function display(data) {
document.getElementById('server_host').textContent = data.host;
document.getElementById('server_mode').textContent = data.mode || "Unknown";
let dat = data.dat[0]
console.log(JSON.stringify(dat))
document.getElementById('time').textContent = await convertUnixLocal(dat.since);