more work on pre-game pages

This commit is contained in:
Lett Osprey 2026-04-06 14:03:33 +02:00
parent 987e2b5576
commit 7a8acf27a7
5 changed files with 259 additions and 180 deletions

View file

@ -38,11 +38,11 @@ pub fn main() {
[] | ["index.html"] -> serve_static("root.html")
["client.js"] -> serve_static("client.js")
["static", file] -> serve_static(file)
["socket", "card", id] ->
["socket", "live", id] ->
sockethandler.serve(req, card.component(), id, room_handler)
["socket", "control", id] ->
sockethandler.serve(req, control.component(), id, room_handler)
["socket", "slow", id] ->
["socket", "single", id] ->
sockethandler.serve_slow(
req,
answerlist.component(),