mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 11:58:07 +00:00
9 lines
396 B
TypeScript
9 lines
396 B
TypeScript
import type { GatewayConnectionDetails } from "../../../src/gateway/call.js";
|
|
|
|
// Test helper for deciding when Android node policy config should be fetched remotely.
|
|
|
|
/** Return true when gateway details represent a remote node, not local loopback. */
|
|
export function shouldFetchRemotePolicyConfig(details: GatewayConnectionDetails): boolean {
|
|
return details.urlSource !== "local loopback";
|
|
}
|