Skip to content

Commit 1683fee

Browse files
committed
chore: UI changes
1 parent 6ae59dd commit 1683fee

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

web/src/App.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,20 @@ function App() {
108108
<h3 style={{ fontSize: '1rem', fontWeight: 600, marginBottom: '0.5rem' }}>Quick Start</h3>
109109
<pre style={{ fontSize: '0.875rem', color: 'var(--text-secondary)', overflowX: 'auto' }}>
110110
{`# Poll status endpoint
111-
curl http://localhost:5555/status
111+
curl ${typeof window !== 'undefined' ? window.location.origin : 'http://localhost:5555'}/status
112112
113113
# View Prometheus metrics
114-
curl http://localhost:5555/metrics
114+
curl ${typeof window !== 'undefined' ? window.location.origin : 'http://localhost:5555'}/metrics
115115
116116
# Health check
117-
curl http://localhost:5555/healthz`}
117+
curl ${typeof window !== 'undefined' ? window.location.origin : 'http://localhost:5555'}/healthz`}
118118
</pre>
119+
<p style={{ fontSize: '0.875rem', color: 'var(--text-secondary)', marginTop: '0.75rem', marginBottom: 0 }}>
120+
<strong>API — Finalized state (SSZ):</strong>{' '}
121+
<code style={{ wordBreak: 'break-all' }}>
122+
{typeof window !== 'undefined' ? window.location.origin : 'http://localhost:5555'}/lean/v0/states/finalized
123+
</code>
124+
</p>
119125
</div>
120126
</section>
121127
</main>

0 commit comments

Comments
 (0)