fix(firewall): include HTTP status code in health check response

This commit is contained in:
Ben Allfree 2025-07-19 06:49:20 -07:00
parent e59c0af44d
commit 9c81a2923e

View File

@ -44,7 +44,7 @@ export const firewall = async () => {
app.get(`/api/firewall/health`, (req, res, next) => {
dbg(`Health check`)
res.json({ status: 'firewall ok' })
res.json({ status: 'firewall ok', code: 200 })
res.end()
})