summaryrefslogtreecommitdiff
path: root/ip-detection
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-08 19:16:37 -0700
committers1n <[email protected]>2019-10-08 19:16:37 -0700
commit1b68a831cc3d679722c4795b9d17e332f9a81086 (patch)
tree9cdd5320d87b59d79e223ae7f0bed7e63997e307 /ip-detection
parenttest if ip works (diff)
downloads1n.pw-admin-1b68a831cc3d679722c4795b9d17e332f9a81086.tar.xz
s1n.pw-admin-1b68a831cc3d679722c4795b9d17e332f9a81086.zip
try to fix it but not do anything (((
Diffstat (limited to 'ip-detection')
-rw-r--r--ip-detection/js/main.js2
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));