mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-12-06 17:27:57 +00:00
Add network to health
This commit is contained in:
@@ -151,6 +151,7 @@ if (!wss) {
|
||||
res.setHeader('content-type', 'application/json')
|
||||
res.json({
|
||||
version,
|
||||
networkid: process.env?.NETWORKID ?? null,
|
||||
uptime: new Date() - startDate,
|
||||
lastLedger: lastLedger ?? null,
|
||||
lastWsPushedLedger: lastWsPushedLedger ?? null,
|
||||
|
||||
Reference in New Issue
Block a user