mirror of
https://github.com/MrUnknownDE/utools.git
synced 2026-04-22 07:23:45 +02:00
fix: remove .html links
This commit is contained in:
@@ -785,7 +785,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
if (currentIp) {
|
||||
console.log(`User IP link clicked: ${currentIp}. Redirecting to WHOIS lookup...`);
|
||||
// Leite zur Whois-Seite weiter und übergebe die IP als 'query'-Parameter
|
||||
window.location.href = `whois-lookup.html?query=${encodeURIComponent(currentIp)}`;
|
||||
window.location.href = `/whois?query=${encodeURIComponent(currentIp)}`;
|
||||
} else {
|
||||
console.warn('Cannot redirect to WHOIS: current IP is not available.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user