mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
86400s max-age cached old preflight results in browsers for 24h — any CORS header change left users broken until the cache expired. 3600 (1h) is safer. Also sync api/_cors.js with server/cors.ts — it was missing X-Widget-Key and X-Pro-Key, which are needed for widget-agent cross-origin requests.