feat(core): optional mdns service (#6192)

Co-authored-by: Github Action <action@github.com>
This commit is contained in:
Adam
2025-12-26 10:29:48 -06:00
committed by GitHub
parent dd569c927a
commit 26e7043718
17 changed files with 238 additions and 116 deletions

View File

@@ -30,7 +30,7 @@ process.on("uncaughtException", (e) => {
let server: Bun.Server<BunWebSocketData>
export const rpc = {
async server(input: { port: number; hostname: string }) {
async server(input: { port: number; hostname: string; mdns?: boolean }) {
if (server) await server.stop(true)
try {
server = Server.listen(input)