feat(gateway): allow secured LAN console access

This commit is contained in:
chick
2026-07-18 19:47:23 +08:00
parent e390069edb
commit d575ab4d9d
4 changed files with 133 additions and 6 deletions
+8
View File
@@ -417,6 +417,14 @@ export async function cutover(
CANARY_DIST_DIR: plan.assetDir,
MULTI_SIMADMIN_CUTOVER_ACK: PRODUCTION_CUTOVER_ACK,
MULTI_SIMADMIN_GATEWAY_TOKEN: gatewayToken,
...(process.env.MULTI_SIMADMIN_GATEWAY_HOST
? { MULTI_SIMADMIN_GATEWAY_HOST: process.env.MULTI_SIMADMIN_GATEWAY_HOST }
: {}),
...(process.env.MULTI_SIMADMIN_GATEWAY_ALLOWED_HOSTS
? {
MULTI_SIMADMIN_GATEWAY_ALLOWED_HOSTS: process.env.MULTI_SIMADMIN_GATEWAY_ALLOWED_HOSTS,
}
: {}),
});
if (!(await waitForGateway(system, gatewayPid, gatewayToken)))
throw new Error(