ai-code-battle/web/pages.json
jedarden be41af831f Fix R2 custom domain in pages.json to match project spec
Update r2_data URL from data.aicodebattle.com to r2.aicodebattle.com
to match the planned R2 bucket custom domain in the project plan.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 22:10:37 -04:00

30 lines
808 B
JSON

{
"name": "ai-code-battle",
"description": "AI Code Battle - Competitive bot programming platform",
"domains": [
"aicodebattle.com"
],
"build": {
"command": "npm run build",
"output_dir": "dist",
"root_dir": "web"
},
"routes": {
"app": "app.html",
"replay_viewer": "index.html"
},
"data_paths": {
"pages_data": "https://aicodebattle.com/data",
"r2_data": "https://r2.aicodebattle.com"
},
"deployment": {
"method": "wrangler pages deploy",
"git_integration": true,
"index_builder_deploys": "data/ directory only"
},
"notes": [
"SPA uses hash-based routing (no _redirects needed)",
"Index files in data/ are deployed by Rackspace index builder every ~90 min",
"Replays and per-match data are served from R2 custom domain"
]
}