You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Added winner query parameter for matchup endpoints (/thumb, /cover, /logo) to visually highlight the winner by rendering the losing team in greyscale (35% opacity + greyed colors).
Added style 98: “3D embossed with league logo” (style 99 remains “3D embossed” without league logo).
Added optional root route behavior via ROOT_REDIRECT_URL:
When set, GET / returns a 301 redirect to the configured docs URL.
When not set, GET / returns a 444 with a docs suggestion (same overall “not found” semantics).
Added/expanded league definitions in leagues.json:
Soccer: Euros + qualifying, UEFA Nations League, CONCACAF Nations League, AFCON + qualifying, English National League (+ north/south), FA Community Shield, FA Trophy, Scottish League Cup, English Women’s Super League
Hockey: EIHL
Cricket: The Hundred (men/women), IPL, BBL, CPL, BPL, PSL, MLC, NZ Super Smash, SA20, Nepal Premier League, T20 Blast
Rugby: Six Nations (men/women), URC, Premiership Rugby, EPCR Challenge Cup, Rugby World Cup (men/women), Rugby League World Cup, Super League, MLR
International baseball: World Baseball Classic (with light/dark logo assets)
Added generic ncaa league definition with NCAA logo and fallbackLeague
Changed
Improved team matching priority in teamUtils:
Reduced exact city match score (700 → 500)
Increased partial name/shortDisplayName match scores (400/300 → 700/650) so team-name matches beat city-only matches.
NCAA route behavior: if the :sport segment isn’t a recognized NCAA shorthand, the route now calls next() so the generic ncaa league routes can handle it instead of returning a 400.
Docker compose now maps ${PORT} to ${PORT} (instead of host ${PORT} → container 3000), aligning container port with the configured app PORT.