more work on pre-game pages
This commit is contained in:
parent
987e2b5576
commit
7a8acf27a7
5 changed files with 259 additions and 180 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue