feat(check-ip): support #/?host=myip for self-check

This commit is contained in:
AJ ONeal 2026-05-28 15:21:20 -06:00
parent d1ddaafd39
commit b02c784df7
No known key found for this signature in database

View File

@ -181,7 +181,9 @@ const App = {
host = new URLSearchParams(hashQuery).get('host'); host = new URLSearchParams(hashQuery).get('host');
} }
} }
if (host) { if (host === 'myip') {
this.check('');
} else if (host) {
document.querySelector('[data-input]').value = host; document.querySelector('[data-input]').value = host;
this.check(host); this.check(host);
} else { } else {