diff --git a/internal/local/src/location.rs b/internal/local/src/location.rs index 88bf2af..c93482f 100644 --- a/internal/local/src/location.rs +++ b/internal/local/src/location.rs @@ -99,7 +99,7 @@ fn get_windows() -> Result { } fn get_web() -> Result { - let mut resp = networking::get!("https://ipinfo.io")?.text; + let mut resp = networking::get!("https://ipinfo.io/json")?.text; let json: HashMap = unsafe { simd_json::from_str(&mut resp)? }; let location_vec: Vec<&str> = json .get("loc")