mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 07:01:27 -07:00
551585179a
Version check now answers "current" for a set of builds rather than one: SUPPORTED_GAME_VERSIONS carries 20230414 and 20250424.01. GAME_VERSION is unchanged and still what the server reports for itself (presence, rn.ver). Adds GET /api/versioncheck/islandedversions, always [] — we never island a build off into its own matchmaking pool. The 2025 build POSTs /cachedlogin/forplatformid/:platform/:id with a deviceId/platformAuth/time form body where the 2023 build GETs it, so that route now takes both methods. The body is accepted and ignored for now. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
domain
Shared domain enums and constants for the recflare workers. Single source of truth for the numeric values the client (and our D1 JSON blobs) encode, so the same magic numbers aren't re-hardcoded per worker.