feat: Update path to not need /hns
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>IPFS.act</title>
|
||||
<link rel="icon" href="https://woodburn.au/favicon.png" type="image/png">
|
||||
</head>
|
||||
<body style="background-color: black; color: blueviolet;text-align: center;">
|
||||
<h1>IPFS.act</h1>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</ol>
|
||||
|
||||
<p>
|
||||
<strong>URL format:</strong> <code>https://ipfs.woodburn.au/hns/[domain]/[path]</code><br>
|
||||
<strong>URL format:</strong> <code>https://ipfs.woodburn.au/[domain]/[path]</code><br>
|
||||
Replace <code>[domain]</code> with any Handshake domain and <code>[path]</code> with an optional path.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user