From 294886b54f8da5c59a6ebc04fe5496bc94a5674d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 21 Jan 2026 02:29:31 +0000 Subject: [PATCH] fix(macos): return bind host --- apps/macos/Sources/Clawdbot/GatewayEndpointStore.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/macos/Sources/Clawdbot/GatewayEndpointStore.swift b/apps/macos/Sources/Clawdbot/GatewayEndpointStore.swift index 87556fe59..4b425800b 100644 --- a/apps/macos/Sources/Clawdbot/GatewayEndpointStore.swift +++ b/apps/macos/Sources/Clawdbot/GatewayEndpointStore.swift @@ -554,16 +554,16 @@ actor GatewayEndpointStore { { switch bindMode { case "tailnet": - tailscaleIP ?? "127.0.0.1" + return tailscaleIP ?? "127.0.0.1" case "auto": if let tailscaleIP, !tailscaleIP.isEmpty { return tailscaleIP } return "127.0.0.1" case "custom": - customBindHost ?? "127.0.0.1" + return customBindHost ?? "127.0.0.1" default: - "127.0.0.1" + return "127.0.0.1" } } }