diff --git a/src/gateway/probe.ts b/src/gateway/probe.ts index adfe3b2d66b..541fab4d92f 100644 --- a/src/gateway/probe.ts +++ b/src/gateway/probe.ts @@ -47,7 +47,7 @@ export async function probeGateway(opts: { const hostname = new URL(opts.url).hostname; // Local authenticated probes should stay device-bound so read/detail RPCs // are not scope-limited by the shared-auth scope stripping hardening. - return isLoopbackHost(hostname) && opts.auth === undefined // Preserves device identity for empty but present auth objects (e.g. {}); + return isLoopbackHost(hostname) && opts.auth === undefined; // Preserves device identity for empty but present auth objects (e.g. {}) } catch { return false; }