fix(firewall): update health check endpoint path from /_api/firewall/health to /api/firewall/health

This commit is contained in:
Ben Allfree 2025-07-19 06:16:04 -07:00
parent 60eeb5cb05
commit 876a44092f

View File

@ -42,7 +42,7 @@ export const firewall = async () => {
app.use(cors()) app.use(cors())
app.use(enforce.HTTPS()) app.use(enforce.HTTPS())
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' })
res.end() res.end()