Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(tournaments): route /api/tournaments/:id/:action so the arena actions resolve

nirholas47e07c3a1dcf
diff --git a/vercel.json b/vercel.json
index 59159ddd2..4d0123ef2 100644
--- a/vercel.json
+++ b/vercel.json
@@ -3842,6 +3842,14 @@
"src": "/api/avatars/([^/]+)",
"dest": "/api/avatars/[id]"
},
+ {
+ "src": "/api/tournaments/([^/]+)/([^/]+)",
+ "dest": "/api/tournaments/[id]/[action]?id=$1&action=$2"
+ },
+ {
+ "src": "/api/tournaments/([^/]+)/([^/]+)",
+ "dest": "/api/tournaments/[id]/[action]?id=$1&action=$2"
+ },
{
"src": "/api/a/(\\d+)/(\\d+)/og",
"dest": "/api/a-og?chain=$1&id=$2"