Skip to content

Commit d01b91d

Browse files
TwanLuttikcolinhacks
authored andcommitted
Update simple.md (oven-sh#4881)
I have removed the / before ${server.port} because it its incorrect and I replaced the localhost to ${server.hostname} Co-authored-by: Colin McDonnell <[email protected]>
1 parent 3e78588 commit d01b91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/websocket/simple.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ const server = Bun.serve<{ authToken: string }>({
2929
},
3030
});
3131

32-
console.log(`Listening on localhost:${server.port}`);
32+
console.log(`Listening on ${server.hostname}:${server.port}`);
3333
```

0 commit comments

Comments
 (0)