Hacker News new | past | comments | ask | show | jobs | submit login

Maybe. It uses the geolocation information Cloudflare provides. In general, it isn't extremely accurate and it doesn't always return the same location, so this doesn't surprise me too much.

If it consistently works in one and not the other (at the same point in time), then the only difference I can think of is that Back Of Your Hand uses their "edge handlers" / "functions" and I made that other URL with their "workers". Hmm.

---

Maybe I could inform the user somehow when it cannot find a location at all. I really want to avoid a browser popup asking for the user's location though




Submitted lino includes hardcoded location, maybe that's what's tripping people up?


That's it!

I could've sworn I made sure not to include it when submitting. It does redirect to that if there's no location found so maybe HN updated the link to the redirect destination?

I'm pushing a change now to ignore this specific lat-lng combination and fallback to geolocation




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: