Skip to content

Commit

Permalink
Makes google api call secure
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhamlet committed Sep 6, 2016
1 parent 48a8b44 commit b6e76e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $(document).ready(function() {
function updateWeather(pos) {
// Get location based on ip address

var posUrl = 'http://maps.googleapis.com/maps/api/geocode/json?latlng=' +
var posUrl = 'https://maps.googleapis.com/maps/api/geocode/json?latlng=' +
pos.coords.latitude + ',' +
pos.coords.longitude +
'&sensor=true';
Expand Down

0 comments on commit b6e76e5

Please sign in to comment.