mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-24 06:25:48 +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) => {
|
app.get(`/api/firewall/health`, (req, res, next) => {
|
||||||
dbg(`Health check`)
|
dbg(`Health check`)
|
||||||
res.json({ status: 'firewall ok' })
|
res.json({ status: 'firewall ok', code: 200 })
|
||||||
res.end()
|
res.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user