We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc6e12 commit ab27679Copy full SHA for ab27679
intl_tel_input/static/intl_tel_input/init.js
@@ -15,7 +15,7 @@
15
initialCountry: data.autoGeoIp!== undefined ? 'auto' : data.defaultCode,
16
geoIpLookup: function(callback) {
17
if (data.autoGeoIp!== undefined) {
18
- $.get('//freegeoip.net/json/', function() {}, "jsonp").done(function(resp) {
+ $.get('https://ipinfo.io', function() {}, "jsonp").done(function(resp) {
19
var countryCode = (resp && resp.country_code) ? resp.country_code : "";
20
callback(countryCode);
21
}).fail(function(jqXHR) {
0 commit comments