Skip to content

Commit 7b0b65c

Browse files
Landing page: fix the four broken-link references
Audit found two unresolved subdomains being linked from public/index.html: - **status.zeroauth.dev** (2 spots) — footer brand-column "All systems operational" pill + the footer social-icons-row Status link. Subdomain DNS doesn't resolve. Repointed both to /api/health which is a real endpoint that returns API + Postgres + Redis + Base Sepolia health as JSON. Kept the "All systems operational" copy because the underlying health check is real; added a title tooltip noting that a dedicated status.zeroauth.dev page is on the roadmap. - **api.zeroauth.dev** (2 spots) — both Quickstart curl examples in the code-tabs section pointed at https://api.zeroauth.dev/v1/... The subdomain doesn't resolve. The canonical API URL is https://zeroauth.dev/v1/... (apex domain, no subdomain). Updated both curl examples accordingly so a developer copy-pasting them gets a 401 (auth required) instead of DNS-refused. Smoke-probed all 18 clickable hrefs after the edits — all return 200 (the two 404s in the smoke output are <link rel="preconnect"> hints to fonts.googleapis.com / fonts.gstatic.com root URLs; the actual font CSS request /css2?family=Inter... 200s correctly, and those preconnect URLs are correct standard behaviour, not user-facing links). Cross-repo sweep clean: no api.zeroauth.dev or status.zeroauth.dev refs left in docs/, dashboard/, or website/ (Docusaurus source). The governance repo's incident-response.md still mentions status.zeroauth.dev intentionally — flagged there as "planned, not yet wired up" rather than as a live URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9498094 commit 7b0b65c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

public/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ <h3 style="margin-top:1.5rem;">3. Verify the proof</h3>
10361036
<button class="code-copy" type="button" data-copy="curl">Copy</button>
10371037
</div>
10381038
<div class="code-pane active" data-pane="curl"><pre class="code-body" id="code-curl"><span class="cmt"># 1. Register a user with a commitment</span>
1039-
curl -X POST https://api.zeroauth.dev/v1/users/register \
1039+
curl -X POST https://zeroauth.dev/v1/users/register \
10401040
-H <span class="str">"Authorization: Bearer $ZEROAUTH_API_KEY"</span> \
10411041
-H <span class="str">"Content-Type: application/json"</span> \
10421042
-d <span class="str">'{
@@ -1045,7 +1045,7 @@ <h3 style="margin-top:1.5rem;">3. Verify the proof</h3>
10451045
}'</span>
10461046

10471047
<span class="cmt"># 2. Verify a Groth16 proof at login</span>
1048-
curl -X POST https://api.zeroauth.dev/v1/verifications \
1048+
curl -X POST https://zeroauth.dev/v1/verifications \
10491049
-H <span class="str">"Authorization: Bearer $ZEROAUTH_API_KEY"</span> \
10501050
-H <span class="str">"Content-Type: application/json"</span> \
10511051
-d <span class="str">'{
@@ -1480,7 +1480,7 @@ <h3>Pramaan: Zero-Knowledge Biometric Authentication</h3>
14801480
ZeroAuth
14811481
</div>
14821482
<p class="footer-tagline">Auth API where a breach exposes nothing. Built on the patented <strong style="color:var(--text-secondary);font-weight:600;">Pramaan&trade;</strong> zero-knowledge biometric protocol.</p>
1483-
<a href="https://status.zeroauth.dev" target="_blank" rel="noopener" class="footer-status">
1483+
<a href="/api/health" target="_blank" rel="noopener" class="footer-status" title="JSON health endpoint — covers API, Postgres, Redis, and the Base Sepolia blockchain RPC. A dedicated status.zeroauth.dev page is on the roadmap.">
14841484
<span class="footer-status-dot"></span>
14851485
All systems operational
14861486
</a>
@@ -1539,7 +1539,7 @@ <h4>Company</h4>
15391539
<a href="/docs" aria-label="Documentation">
15401540
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
15411541
</a>
1542-
<a href="https://status.zeroauth.dev" target="_blank" rel="noopener" aria-label="Status">
1542+
<a href="/api/health" target="_blank" rel="noopener" aria-label="Health" title="JSON health endpoint">
15431543
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg>
15441544
</a>
15451545
</div>

0 commit comments

Comments
 (0)