Skip to content

Commit fc80ef6

Browse files
committed
even more prod debugging
1 parent 15751a0 commit fc80ef6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/routes/+page.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
Current Server: {State.currentServer.name} (Loaded {State.servers
7272
.length})<br />
7373
AHost: {State.isAHost()} (Loaded {State.aHosts.length})<br />
74+
AHosts: {@html State.aHosts.map(h =>
75+
`<span style="color:${h.hostname === window.location.hostname ? 'green' : 'red'}">${h.hostname}</span>`
76+
).join(", ")}
77+
<br />
7478
Games Loaded: {games.length} ({State.pinnedGames.length} pinned) - rendered
7579
{State.homeView}<br />
7680
Version: {State.version}<br />

0 commit comments

Comments
 (0)