Now fetch 30 days of server stats.

This commit is contained in:
Ylian Saint-Hilaire 2019-04-04 15:53:50 -07:00
parent 2c0c34cc91
commit e0a237af52
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -7273,7 +7273,7 @@
}
};
function refreshServerTimelineStats(stats) { meshserver.send({ action: 'servertimelinestats', hours: 24 }); }
function refreshServerTimelineStats(stats) { meshserver.send({ action: 'servertimelinestats', hours: 24 * 30 }); }
function pastDate(hours) { var t = new Date(); t.setTime(t.getTime() - (60 * 60 * 1000 * hours)); return t; }
function setServerTimelineStats(stats) { serverTimelineStats = stats; updateServerTimelineStats(); }
function addServerTimelineStats(stats) {