#How do I get the IP from ws.remoteAddress in Bun.serve?
1 messages · Page 1 of 1 (latest)
Absolutely no idea how to get the IP from that ws.remoteAddress element nor the encoded text version
Also the docs for it are wrong
I'm more than sure it should return a proper string instead of {¿V
Whatever that may be
@jolly siren this seems like a documentation issue
remoteAddress is the binary adress in text format for whatever reason
@jolly siren Repro & fix posted: https://github.com/oven-sh/bun/issues/2387