diff --git a/wwwroot/assets/js/myip.js b/wwwroot/assets/js/myip.js index 3b75ec6..745bf8b 100644 --- a/wwwroot/assets/js/myip.js +++ b/wwwroot/assets/js/myip.js @@ -14,7 +14,7 @@ function getdefault() { } function getipv4() { - fetch('http://v4.myip.dn42/api') + fetch('http://172.20.0.81/api') .then(function (response) { return response.json(); }) @@ -26,7 +26,7 @@ function getipv4() { } function getipv6() { - fetch('http://v6.myip.dn42/api') + fetch('http://[fd42:d42:d42:81::1]/api') .then(function (response) { return response.json(); }) diff --git a/wwwroot/index.html b/wwwroot/index.html index 328a97c..f66fa53 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -32,9 +32,9 @@
fetching from api
.