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:
parent
6774b456a9
commit
4e2e0c9c5f
|
|
@ -70,6 +70,7 @@ const websocket = {
|
||||||
|
|
||||||
const server = Bun.serve({
|
const server = Bun.serve({
|
||||||
port: PORT,
|
port: PORT,
|
||||||
|
hostname: '0.0.0.0',
|
||||||
idleTimeout: 255,
|
idleTimeout: 255,
|
||||||
|
|
||||||
fetch(req, server) {
|
fetch(req, server) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user