Skip to content

Commit

Permalink
Base: Switch to HTTPS for Weather Underground
Browse files Browse the repository at this point in the history
  • Loading branch information
salbahra committed Apr 23, 2015
1 parent f68d5b8 commit 20958d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ function nearbyPWS(lat,lon,callback) {
}

$.ajax({
url: "http://api.wunderground.com/api/"+controller.settings.wtkey+"/geolookup/q/"+(lat === -999 || lon === -999 ? "autoip" : encodeURIComponent(lat)+","+encodeURIComponent(lon))+".json",
url: "https://api.wunderground.com/api/"+controller.settings.wtkey+"/geolookup/q/"+(lat === -999 || lon === -999 ? "autoip" : encodeURIComponent(lat)+","+encodeURIComponent(lon))+".json",
dataType: isChromeApp ? "json" : "jsonp",
shouldRetry: retryCount
}).done(function(data){
Expand Down Expand Up @@ -2646,7 +2646,7 @@ function debugWU() {
$.mobile.loading("show");

$.ajax({
url: "http://api.wunderground.com/api/"+controller.settings.wtkey+"/yesterday/conditions/q/"+controller.settings.loc+".json",
url: "https://api.wunderground.com/api/"+controller.settings.wtkey+"/yesterday/conditions/q/"+controller.settings.loc+".json",
dataType: isChromeApp ? "json" : "jsonp",
shouldRetry: retryCount
}).done(function(data){
Expand Down

0 comments on commit 20958d7

Please sign in to comment.