Get the user IP address
Is there no better way to get the user IP address than doing this
?
https://github.com/EdamAme-x/deno-deploy-hono-ip/blob/main/entry.ts
It works, but it's a bit convoluted.
FYI, I use the IP address to implement a rate limiter.
https://github.com/EdamAme-x/deno-deploy-hono-ip/blob/main/entry.ts
It works, but it's a bit convoluted.
FYI, I use the IP address to implement a rate limiter.
GitHub
Deno Deploy Hono IP. Contribute to EdamAme-x/deno-deploy-hono-ip development by creating an account on GitHub.