diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-09-11 18:50:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-02 19:35:20 +0100 |
commit | 100db2d197aac98e3e9e0f59e4cbe7d902373cba (patch) | |
tree | f047e88b385ae617acdcfa4f87f058c414165c67 /browser/app/profile/firefox.js | |
parent | 6d3a0633543c2f6dfa3cb82aab519ac5fbd33e35 (diff) | |
download | UXP-100db2d197aac98e3e9e0f59e4cbe7d902373cba.tar UXP-100db2d197aac98e3e9e0f59e4cbe7d902373cba.tar.gz UXP-100db2d197aac98e3e9e0f59e4cbe7d902373cba.tar.lz UXP-100db2d197aac98e3e9e0f59e4cbe7d902373cba.tar.xz UXP-100db2d197aac98e3e9e0f59e4cbe7d902373cba.zip |
Switch GeoLocation to IP-API.com with minimal requests.
Diffstat (limited to 'browser/app/profile/firefox.js')
-rw-r--r-- | browser/app/profile/firefox.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 82f8e45a5..acb5cfa5d 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -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 |