ai generated solutions to our ai generated problems

This commit is contained in:
2026-06-20 00:43:44 +01:00
parent fb773489f5
commit 22bff51147
7 changed files with 218 additions and 35 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
# Static Public Data
The frontend tries these JSON snapshots before falling back to the live API by
default. The web server serves `/data/*` from the public data cache and fills
missing snapshots from the matching `/api/tss/*` route with a short timeout.
The web server serves `/data/*` from the same public data cache used by
`/api/tss/*`, and fills missing snapshots from the matching API route with a
short timeout. The frontend uses `/api/tss/*` by default; set
`VITE_STATIC_DATA=true` only for static-first experiments.
- `/data/leaderboard-teams.json`
- `/data/leaderboard-players.json`