Add server mode to stats
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user