asd
This commit is contained in:
parent
ef045f9353
commit
ff5d6ab91d
7 changed files with 388 additions and 84 deletions
1
main.go
1
main.go
|
|
@ -21,6 +21,7 @@ func main() {
|
|||
|
||||
// Expose current script for a game room (used by the script viewer panel)
|
||||
http.HandleFunc("/api/script", hub.HandleGetScript)
|
||||
http.HandleFunc("/api/lobbies", hub.HandleListLobbies)
|
||||
|
||||
// LLM rule-generation endpoint
|
||||
http.HandleFunc("/api/generate-rule", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue