Implemented protocol-relative URLs (this is tested)
This commit is contained in:
parent
2be0cd3671
commit
3c094ec87d
3 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
var ip;
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "http://jsonip.appspot.com/?callback=?",
|
||||
url: "//jsonip.appspot.com/?callback=?",
|
||||
dataType: "jsonp",
|
||||
success: function(getip) { ip = getip.ip; }
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue