fix: mdns discover hostname (#9039)

This commit is contained in:
Javier Aceña
2026-01-17 12:47:19 +01:00
committed by GitHub
parent c4e4f2a058
commit 7030f49a74
3 changed files with 5 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ export const WebCommand = cmd({
}
if (opts.mdns) {
UI.println(UI.Style.TEXT_INFO_BOLD + " mDNS: ", UI.Style.TEXT_NORMAL, "opencode.local")
UI.println(UI.Style.TEXT_INFO_BOLD + " mDNS: ", UI.Style.TEXT_NORMAL, `opencode.local:${server.port}`)
}
// Open localhost in browser