feat: Update path to not need /hns

This commit is contained in:
2025-06-17 22:43:54 +10:00
parent 6baecf5561
commit 492167e1d0
5 changed files with 133 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ document.addEventListener('DOMContentLoaded', () => {
});
});
// Function to navigate to HNS domain
// Function to navigate to HNS domain (using new URL format)
function navigateToHnsDomain() {
const domain = domainInput.value.trim();
@@ -41,8 +41,8 @@ document.addEventListener('DOMContentLoaded', () => {
// Clean up domain input (remove trailing slashes)
const cleanDomain = domain.replace(/\/+$/, '');
// Navigate to the HNS domain
window.location.href = `/hns/${cleanDomain}`;
// Navigate to the HNS domain using new format
window.location.href = `/${cleanDomain}`;
}
// Check server status