diff options
| author | s1n <[email protected]> | 2019-09-30 21:42:40 -0700 |
|---|---|---|
| committer | s1n <[email protected]> | 2019-09-30 21:42:40 -0700 |
| commit | 139819bfea6c48ab9110b95f43972f434b83487e (patch) | |
| tree | c68cb8c76bb44782fc82887c7f1897c837f1a079 /ip-detection/js | |
| parent | Merge branch 'master' of https://github.com/8cy/about-me (diff) | |
| download | s1n.pw-admin-139819bfea6c48ab9110b95f43972f434b83487e.tar.xz s1n.pw-admin-139819bfea6c48ab9110b95f43972f434b83487e.zip | |
rewrite test
Diffstat (limited to 'ip-detection/js')
| -rw-r--r-- | ip-detection/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip-detection/js/main.js b/ip-detection/js/main.js index 9f6c6ec..28a66dc 100644 --- a/ip-detection/js/main.js +++ b/ip-detection/js/main.js @@ -1,4 +1,4 @@ -$.get("http://ipinfo.io", function (response) { +$.get("https://ipinfo.io/json", function (response) { $("#ip").html("IP: " + response.ip); $("#address").html("Location: " + response.city + ", " + response.region); $("#details").html(JSON.stringify(response, null, 4)); |