assets/plugins/map.js in dasht-0.1.2 vs assets/plugins/map.js in dasht-0.1.3
- old
+ new
@@ -23,12 +23,11 @@
if (location = Dasht.map_geocoder_cache[ip]) {
Dasht.map_plot_location(map, markers, ip, location);
return;
}
- // http://freegeoip.net/json/
jQuery.ajax({
- url: 'http://104.236.251.84/json/' + ip,
+ url: 'http://freegeoip.net/json/' + ip,
type: 'POST',
dataType: 'jsonp',
success: function(response) {
var location = new google.maps.LatLng(response.latitude, response.longitude);
Dasht.map_geocoder_cache[ip] = location;