6 Replies
What runtime are you using?
Bun.sh
It's not supported in Hono directly, bun you can do this
You can acess it with globalThis.ip. Until it's supported in Hono this is the best way
@mathys Forget that I found a much better way
Now you can access it in c.env
@Nico it's working for me with this return
I think you should add this to the doc maybe
Perfect, once it’s live it will show an ip ::1 is just localhost. Or if you use another device you should see it
And I will add it to the docs
Thanks again for the help