mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(gateway): preserve local access for specific binds (#98479)
* fix: prefer loopback for local tailnet dashboard * fix(gateway): preserve local access for specific binds --------- Co-authored-by: haruaiclone-droid <281899875+haruaiclone-droid@users.noreply.github.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -1327,6 +1327,7 @@ const shouldSkipWatchRuntimeSync = (deps, requirement) =>
|
||||
!hasMissingRequiredRuntimePostBuildOutput(deps);
|
||||
|
||||
const isGatewayClientCommand = (args) =>
|
||||
args[0] === "dashboard" ||
|
||||
(args[0] === "gateway" && (args[1] === "call" || args[1] === "status")) ||
|
||||
(args[0] === "agent" && !args.includes("--local"));
|
||||
|
||||
@@ -1507,6 +1508,9 @@ export async function runNodeMain(params = {}) {
|
||||
}
|
||||
|
||||
const buildExitCode = await withRunNodeBuildLock(deps, async () => {
|
||||
if (shouldFastPathExistingDistForGatewayClient(deps)) {
|
||||
return 0;
|
||||
}
|
||||
const lockedBuildRequirement = resolveBuildRequirement(deps);
|
||||
if (!lockedBuildRequirement.shouldBuild) {
|
||||
const runtimePostBuildRequirement = resolveRuntimePostBuildRequirement(deps);
|
||||
|
||||
Reference in New Issue
Block a user