fix: align v0.3 public ports

This commit is contained in:
Codex Agent
2026-06-09 03:13:32 +08:00
parent 1912c32160
commit bdc90fb294
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ function assertLane(value, label) {
function laneInfo(lane, options = {}) {
assertLane(lane, "lane");
const minor = Number.parseInt(lane.slice(1), 10);
const webPort = options.webPort ?? 19466 + minor * 100;
const webPort = options.webPort ?? 17666 + minor * 1000;
const apiPort = options.apiPort ?? webPort + 1;
const versionName = `v0.${minor}`;
const host = options.host ?? defaultHost;
+1 -1
View File
@@ -110,7 +110,7 @@ export function runtimeGitopsPathForRuntimeLane(deploy: DeployConfig, lane: stri
}
export function defaultPortForRuntimeLane(lane: string): number {
return 19466 + runtimeLaneMinor(lane) * 100;
return 17666 + runtimeLaneMinor(lane) * 1000;
}
export function publicHostLabel(host = defaultPublicHost): string {