mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-23 22:15:49 +00:00
fix(firewall): include HTTP status code in health check response
This commit is contained in:
parent
e59c0af44d
commit
9c81a2923e
@ -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()
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user