fix: align v0.3 public ports
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user