diff --git a/js/stat.js b/js/stat.js index 08f4b52..79d0628 100644 --- a/js/stat.js +++ b/js/stat.js @@ -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); diff --git a/stat.html b/stat.html index 2ebb239..5108c60 100644 --- a/stat.html +++ b/stat.html @@ -9,6 +9,7 @@

OwlBoard Server Stats

Data from:

+

Server Mode:

Counters Reset -