From 100db2d197aac98e3e9e0f59e4cbe7d902373cba Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 11 Sep 2017 18:50:38 +0200 Subject: Switch GeoLocation to IP-API.com with minimal requests. --- browser/app/profile/firefox.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'browser') 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 -- cgit v1.2.3