Hacker News new | ask | show | jobs
by Lucasoato 53 days ago
Yeah, anybody or op has any idea how to make ip/localization detection on the web? What are the current best standards there?
1 comments

Cloudflare will pass the country in the request headers. Then your server can pass it to the browser if you need it there.

https://developers.cloudflare.com/fundamentals/reference/htt...