style(gateway): fix missing semicolon in probe return statement

This commit is contained in:
administrator 2026-03-17 04:53:06 -07:00
parent 0c311b117d
commit 17d6e62fe5

View File

@ -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;
}