summaryrefslogtreecommitdiffstats
path: root/web/play/src
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-08 12:28:48 +0100
committersalmonik <salmonik@tuta.io>2026-11-08 12:28:48 +0100
commit8681fcf565643f67a36cb1fe571fac7843d2b6af (patch)
tree1f022edb267281da0a2fd0fde3b5336293f14cea /web/play/src
parentweb: match the desktop layout and remove play-money copy (diff)
downloadzagan-bet-8681fcf565643f67a36cb1fe571fac7843d2b6af.tar.gz
zagan-bet-8681fcf565643f67a36cb1fe571fac7843d2b6af.zip
web: disallow crawlers and quiet the game port
Adds robots.txt with Disallow: / plus noindex/X-Robots-Tag on the site and app. The v5 server treats an HTTP request as a malformed frame, closes silently before HELLO, and suppresses the common TLS scanner noise. Deploy now verifies robots.txt.
Diffstat (limited to '')
-rw-r--r--web/play/src/slots.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/play/src/slots.ts b/web/play/src/slots.ts
index cfc9070..c8af52a 100644
--- a/web/play/src/slots.ts
+++ b/web/play/src/slots.ts
@@ -68,6 +68,7 @@ export function renderSlots(
68 const tile = node("div", "tile", symbol); 68 const tile = node("div", "tile", symbol);
69 tile.classList.add(`sym-${symbol}`); 69 tile.classList.add(`sym-${symbol}`);
70 if (active) tile.classList.add("spinning"); 70 if (active) tile.classList.add("spinning");
71 if (!active && flat.length === 0) tile.classList.add("placeholder");
71 if (!active && (view.win_cells ?? []).includes(index)) tile.classList.add("win"); 72 if (!active && (view.win_cells ?? []).includes(index)) tile.classList.add("win");
72 tiles.push(tile); 73 tiles.push(tile);
73 reel.append(tile); 74 reel.append(tile);