From 229db44b8fa66f77fc17ebaf3a7f8b347c635f3c Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Fri, 27 Mar 2026 09:46:44 -0600 Subject: [PATCH] fix: use 127.0.0.1 instead of localhost for serve URL Avoids DNS resolution issues on some systems where localhost may resolve to IPv6 ::1 while Bun listens on IPv4 only. Co-Authored-By: Claude Opus 4.6 (1M context) --- design/src/serve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/src/serve.ts b/design/src/serve.ts index 5dc68ab4..14075d4f 100644 --- a/design/src/serve.ts +++ b/design/src/serve.ts @@ -87,7 +87,7 @@ export async function serve(options: ServeOptions): Promise { }); const actualPort = server.port; - const boardUrl = `http://localhost:${actualPort}`; + const boardUrl = `http://127.0.0.1:${actualPort}`; console.error(`SERVE_STARTED: port=${actualPort} html=${html}`);