Skip to content

Commit aaa2b01

Browse files
committed
fix(macos): keep IPv6 endpoint formatting out of localization inventory
1 parent 3555de2 commit aaa2b01

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎apps/.i18n/native-source.json‎

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/macos/Sources/OpenClaw/ControlChannel.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ final class ControlChannel {
306306
let endpoint = if let url = directURL, let host = url.host,
307307
let port = GatewayRemoteConfig.defaultPort(for: url)
308308
{
309-
"\(host.contains(":") && !host.hasPrefix("[") ? "[\(host)]" : host):\(port)"
309+
"\(host.contains(":") && !host.hasPrefix("[") ? "[" + host + "]" : host):\(port)"
310310
} else {
311311
"localhost:\(localPort)"
312312
}

0 commit comments

Comments
 (0)