fix: remove .html links

This commit is contained in:
2026-01-14 17:12:31 +01:00
parent 33b7d5dffc
commit 080fed1008
7 changed files with 38 additions and 27 deletions

View File

@@ -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.');
}