From 876a44092f163b174e55173a250d0b8779f73f0f Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sat, 19 Jul 2025 06:16:04 -0700 Subject: [PATCH] fix(firewall): update health check endpoint path from `/_api/firewall/health` to `/api/firewall/health` --- .../commands/FirewallCommand/ServeCommand/firewall/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts b/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts index 6412fd0f..0ef9b59d 100644 --- a/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts +++ b/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts @@ -42,7 +42,7 @@ export const firewall = async () => { app.use(cors()) app.use(enforce.HTTPS()) - app.get(`/_api/firewall/health`, (req, res, next) => { + app.get(`/api/firewall/health`, (req, res, next) => { dbg(`Health check`) res.json({ status: 'firewall ok' }) res.end()