Skip to content

Commit ab27679

Browse files
committed
Switch to ipinfo.io per example given upstream
1 parent 1cc6e12 commit ab27679

File tree

1 file changed

+1
-1
lines changed
  • intl_tel_input/static/intl_tel_input

1 file changed

+1
-1
lines changed

intl_tel_input/static/intl_tel_input/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
initialCountry: data.autoGeoIp!== undefined ? 'auto' : data.defaultCode,
1616
geoIpLookup: function(callback) {
1717
if (data.autoGeoIp!== undefined) {
18-
$.get('//freegeoip.net/json/', function() {}, "jsonp").done(function(resp) {
18+
$.get('https://ipinfo.io', function() {}, "jsonp").done(function(resp) {
1919
var countryCode = (resp && resp.country_code) ? resp.country_code : "";
2020
callback(countryCode);
2121
}).fail(function(jqXHR) {

0 commit comments

Comments
 (0)