Add a minimal cfgeo Cloudflare Worker that returns coarse location from Cloudflare's edge geolocation data. Use it as a fast default location on load, preferring browser geolocation or an explicit search/URL selection whenever those are available.
4 lines
71 B
TOML
4 lines
71 B
TOML
name = "cfgeo"
|
|
main = "src/index.js"
|
|
compatibility_date = "2024-01-01"
|