diff --git a/cmd/check-ip/web/app.js b/cmd/check-ip/web/app.js index d2d3b38..c0ada3b 100644 --- a/cmd/check-ip/web/app.js +++ b/cmd/check-ip/web/app.js @@ -181,7 +181,9 @@ const App = { host = new URLSearchParams(hashQuery).get('host'); } } - if (host) { + if (host === 'myip') { + this.check(''); + } else if (host) { document.querySelector('[data-input]').value = host; this.check(host); } else {