docs: vehicle cache env vars and logs endpoint
This commit is contained in:
@@ -73,11 +73,17 @@ The server serves `/health`
|
||||
locally and only proxies the API routes used by the app:
|
||||
|
||||
- `GET /api/tss/leaderboard/teams?limit=1..100`
|
||||
- `GET /api/tss/games/recent?limit=1..100`
|
||||
- `GET /api/tss/games/:session_id?lang=...`
|
||||
- `GET /api/tss/games/:session_id/logs`
|
||||
- `GET /api/tss/teams/resolve?name=...`
|
||||
- `GET /api/tss/teams/:team`
|
||||
- `GET /api/tss/teams/:team/history`
|
||||
- `GET /api/tss/teams/:team/games`
|
||||
|
||||
Vehicle icon PNGs are served statically at `/vehicle-icons` from `VEHICLE_ICONS_DIR`
|
||||
(populated at deploy from `SHARED/ICONS/VEHICLES`).
|
||||
|
||||
The proxy blocks cross-origin/API-navigation requests, strips CORS headers from
|
||||
the upstream response, rate limits callers, and caches successful GET responses
|
||||
briefly so public page traffic does not hammer the upstream API. All responses
|
||||
|
||||
Reference in New Issue
Block a user