Exempt DNS logs from rate limiting and hide Tokens button when no DNS configured
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -66,6 +66,9 @@ window.__dashcaddySiteConfigLoaded = (async function loadSiteConfig() {
|
||||
}));
|
||||
// Render DNS cards dynamically based on configured servers
|
||||
renderDnsCards();
|
||||
// Hide Tokens button if no DNS servers configured
|
||||
const tokensBtn = document.getElementById('manage-tokens');
|
||||
if (tokensBtn) tokensBtn.style.display = Object.keys(SITE.dnsServers).length ? '' : 'none';
|
||||
}
|
||||
} catch (_) {}
|
||||
// Update static HTML elements with configured TLD
|
||||
|
||||
Reference in New Issue
Block a user