mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-11 17:46:20 +02:00
* fix(relay): improve OREF curl error logging with stderr capture -s flag silenced curl errors. Add -S to show errors, capture stderr via stdio pipes, and log curl's actual error message instead of generic "Command failed" from execFileSync. * feat(relay): bootstrap OREF 24h history on startup and add missing headers - Fetch AlertsHistory.json once on startup to populate orefState.history immediately instead of starting empty - Add X-Requested-With: XMLHttpRequest header required by Akamai WAF - Add IST→UTC date converter handling DST ambiguity - Redact proxy credentials from error logs and client responses - Fix historyCount24h to count individual alert records, not snapshots - Guard historyCount24h reducer for both array and string data shapes - Add input validation to orefDateToUTC for malformed dates