feat(server): add --mdns-domain flag to customize mDNS hostname (#11796)

This commit is contained in:
Luiz Guilherme D'Abruzzo Pereira
2026-02-02 17:52:32 -03:00
committed by GitHub
parent 824165eb79
commit a9fca05d8b
5 changed files with 21 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ export const WebCommand = cmd({
UI.println(
UI.Style.TEXT_INFO_BOLD + " mDNS: ",
UI.Style.TEXT_NORMAL,
`opencode.local:${server.port}`,
`${opts.mdnsDomain}:${server.port}`,
)
}