ai generated solutions to our ai generated problems

This commit is contained in:
Heidi
2026-06-20 00:20:48 +01:00
parent e7a172f52f
commit 7f1e6d0bef
5 changed files with 139 additions and 34 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# Static Public Data
The frontend can try these JSON snapshots before falling back to the live API
when `VITE_STATIC_DATA=true`. By default, the app requests `/api/tss/*` directly
and lets the web server answer from the same public data cache.
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.
- `/data/leaderboard-teams.json`
- `/data/leaderboard-players.json`