mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-24 14:35:49 +00:00
chore: remove unneeded dev endpoints
This commit is contained in:
parent
846fd8664e
commit
b154d001a5
@ -10,7 +10,6 @@ import https from 'https'
|
|||||||
import { logger } from '../../../../../common/Logger'
|
import { logger } from '../../../../../common/Logger'
|
||||||
import {
|
import {
|
||||||
APEX_DOMAIN,
|
APEX_DOMAIN,
|
||||||
APP_NAME,
|
|
||||||
DAEMON_PORT,
|
DAEMON_PORT,
|
||||||
IPCIDR_LIST,
|
IPCIDR_LIST,
|
||||||
IS_DEV,
|
IS_DEV,
|
||||||
@ -32,8 +31,6 @@ export const firewall = async () => {
|
|||||||
const DEV_ROUTES = {
|
const DEV_ROUTES = {
|
||||||
[`mail.${APEX_DOMAIN()}`]: `http://localhost:${1080}`,
|
[`mail.${APEX_DOMAIN()}`]: `http://localhost:${1080}`,
|
||||||
[`${MOTHERSHIP_NAME()}.${APEX_DOMAIN()}`]: `http://localhost:${MOTHERSHIP_PORT()}`,
|
[`${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}`,
|
[`${APEX_DOMAIN()}`]: `http://localhost:${8080}`,
|
||||||
}
|
}
|
||||||
const hostnameRoutes = IS_DEV() ? DEV_ROUTES : PROD_ROUTES
|
const hostnameRoutes = IS_DEV() ? DEV_ROUTES : PROD_ROUTES
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user