mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
Switch GeoLocation to IP-API.com with minimal requests.
This commit is contained in:
parent
3d983be76c
commit
0ff3276b09
2 changed files with 34 additions and 13 deletions
|
|
@ -1249,11 +1249,7 @@ pref("plain_text.wrap_long_lines", true);
|
|||
pref("dom.debug.propagate_gesture_events_through_content", false);
|
||||
|
||||
// The request URL of the GeoLocation backend.
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
|
||||
#else
|
||||
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||
#endif
|
||||
pref("geo.wifi.uri", "http://ip-api.com/json/?fields=lat,lon,status,message");
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
#ifdef RELEASE_OR_BETA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue