mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 14:07:20 +08:00
fix(cli): update mDNS runtime defaults from opencode.local to kilo.local
Address review feedback from @lambertjosh: the mdns.ts fallback was updated but the actual CLI defaults in network.ts and config.ts still advertised opencode.local. Update both so kilo serve --mdns uses the correct hostname.
This commit is contained in:
@@ -19,8 +19,8 @@ const options = {
|
||||
},
|
||||
"mdns-domain": {
|
||||
type: "string" as const,
|
||||
describe: "custom domain name for mDNS service (default: opencode.local)",
|
||||
default: "opencode.local",
|
||||
describe: "custom domain name for mDNS service (default: kilo.local)", // kilocode_change
|
||||
default: "kilo.local", // kilocode_change
|
||||
},
|
||||
cors: {
|
||||
type: "string" as const,
|
||||
|
||||
@@ -1039,7 +1039,7 @@ export namespace Config {
|
||||
port: z.number().int().positive().optional().describe("Port to listen on"),
|
||||
hostname: z.string().optional().describe("Hostname to listen on"),
|
||||
mdns: z.boolean().optional().describe("Enable mDNS service discovery"),
|
||||
mdnsDomain: z.string().optional().describe("Custom domain name for mDNS service (default: opencode.local)"),
|
||||
mdnsDomain: z.string().optional().describe("Custom domain name for mDNS service (default: kilo.local)"), // kilocode_change
|
||||
cors: z.array(z.string()).optional().describe("Additional domains to allow for CORS"),
|
||||
})
|
||||
.strict()
|
||||
|
||||
Reference in New Issue
Block a user