mirror of
https://github.com/codex-storage/codex-frontend.git
synced 2025-03-01 02:30:49 +00:00
Add announce address to debug page
This commit is contained in:
parent
52217354f0
commit
2c468fa66b
@ -31,6 +31,12 @@ function NodeInfoItemComponent(props: {
|
||||
{props.data.spr}
|
||||
</p>
|
||||
</div>
|
||||
<div id="info-row">
|
||||
<p>
|
||||
<span>Announce Adresses: </span>
|
||||
{props.data.announceAddresses.join(", ")}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Local Node</h3>
|
||||
<div id="info-row">
|
||||
@ -53,8 +59,8 @@ function NodeInfoItemComponent(props: {
|
||||
{`${props.data.table.localNode.seen
|
||||
.toString()[0]
|
||||
.toUpperCase()}${props.data.table.localNode.seen
|
||||
.toString()
|
||||
.slice(1)}`}
|
||||
.toString()
|
||||
.slice(1)}`}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,6 +5,7 @@ export interface DebugNodeInfoModel {
|
||||
spr: string;
|
||||
table: Table;
|
||||
codex: Codex;
|
||||
announceAddresses: string[];
|
||||
}
|
||||
|
||||
export interface Codex {
|
||||
|
Loading…
x
Reference in New Issue
Block a user