RafalWilinski / express-status-monitor

🚀 Realtime Monitoring solution for Node.js/Express.js apps, inspired by status.github.com, sponsored by https://dynobase.dev
https://dynobase.dev/
MIT License
3.59k stars 253 forks source link

cannot pass header into endpoint healthcheck #219

Open binhhieutu opened 5 months ago

binhhieutu commented 5 months ago

My endpoints that need health checks require authentication before being called for inspection, but I don't see any options for passing headers into the request. In the example, I can see a section for passing headers, but in the source code, there's no part for passing headers (src/helpers/health-checker.js:29).

image