mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 14:16:05 +08:00
bcf9a9621c7c2af528e478d7093d42ff75fc0363
Composes the three live sources into one AtisReport: VATSIM ATIS stations, the METAR, and the OpenAIP runway ends the frequency endpoint was already fetching and discarding. The upstream fetches move into server/utils/airportSources.ts with a TTL cache matched to each source (VATSIM 20s, METAR 5min, OpenAIP 6h). Without it, adding this endpoint would have meant pulling the multi-megabyte VATSIM datafeed twice per session start; the frequency endpoint now shares the same cached copy. Verified against live data: EDDF (no VATSIM ATIS) synthesises information I with runway 25C from wind 260/14, while EDDC and EDDM take letter and runway from their live VATSIM broadcasts. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
Languages
TypeScript
67.3%
Vue
31.8%
CSS
0.6%
JavaScript
0.3%