mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-07-13 23:44:37 +00:00
Auto-refresh player list + empire stats
This commit is contained in:
parent
96fcbba812
commit
26f743d907
3 changed files with 116 additions and 62 deletions
|
|
@ -23,7 +23,6 @@ api.get('/stats', async (req, res, next) => {
|
|||
console.log("WARNING: cannot find player info '" + players[i] + "'")
|
||||
}
|
||||
|
||||
console.log(stats)
|
||||
info.players = player_info
|
||||
res.status(200).json({ ...stats, ...info });
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue