mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-24 14:35:49 +00:00
fix(firewall): update health check endpoint path from /_api/firewall/health to /api/firewall/health
This commit is contained in:
parent
60eeb5cb05
commit
876a44092f
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user