From b154d001a51fd27eb74020fe498f4c9d29682e32 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sat, 9 Nov 2024 07:28:04 -0800 Subject: [PATCH] chore: remove unneeded dev endpoints --- .../commands/FirewallCommand/ServeCommand/firewall/server.ts | 3 --- 1 file changed, 3 deletions(-) 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 1ff2c39e..b8df5dbc 100644 --- a/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts +++ b/packages/pockethost/src/cli/commands/FirewallCommand/ServeCommand/firewall/server.ts @@ -10,7 +10,6 @@ import https from 'https' import { logger } from '../../../../../common/Logger' import { APEX_DOMAIN, - APP_NAME, DAEMON_PORT, IPCIDR_LIST, IS_DEV, @@ -32,8 +31,6 @@ export const firewall = async () => { const DEV_ROUTES = { [`mail.${APEX_DOMAIN()}`]: `http://localhost:${1080}`, [`${MOTHERSHIP_NAME()}.${APEX_DOMAIN()}`]: `http://localhost:${MOTHERSHIP_PORT()}`, - [`${APP_NAME()}.${APEX_DOMAIN()}`]: `http://localhost:${5174}`, - [`superadmin.${APEX_DOMAIN()}`]: `http://localhost:${5175}`, [`${APEX_DOMAIN()}`]: `http://localhost:${8080}`, } const hostnameRoutes = IS_DEV() ? DEV_ROUTES : PROD_ROUTES