From 7ebf8c7876b9540843d2635baf55ca4061267e40 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 8 Nov 2026 03:37:19 +0100 Subject: web: show the account number and stop reel spin on an error Also documents the __Host- cookie prefix used on HTTPS. --- web/play/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/play/src/main.ts') diff --git a/web/play/src/main.ts b/web/play/src/main.ts index 2dd3ce9..15eecf5 100644 --- a/web/play/src/main.ts +++ b/web/play/src/main.ts @@ -19,6 +19,7 @@ const gameBoard = byId("game-board"); const gameSide = byId("game-side"); const gameTitle = byId("game-title"); const gameBadge = byId("game-badge"); +const lobbyAccount = byId("lobby-account"); const historyBody = byId("history-body"); const authForm = byId("auth-form"); const authUser = byId("auth-user"); @@ -226,6 +227,7 @@ function badge(view: View): string { } function renderLobby(lobby: View): void { + lobbyAccount.textContent = lobby.account ? `Account ${lobby.account}` : ""; gameGrid.replaceChildren(); const list: [string, string][] = lobby.games ?? []; for (const [id, name] of list) { -- cgit v1.2.3