Listen on 0.0.0.0 to ensure IPv4 connectivity

tronbyt.toes.local resolves to an IPv4 address while toes.local
uses IPv6, so the toes proxy couldn't reach the Bun server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Corey Johnson 2026-03-10 17:34:07 -07:00
parent 6774b456a9
commit 4e2e0c9c5f

View File

@ -70,6 +70,7 @@ const websocket = {
const server = Bun.serve({
port: PORT,
hostname: '0.0.0.0',
idleTimeout: 255,
fetch(req, server) {