Files
worldmonitor/server
Elie Habib caf2e8fa1a fix(cors): add X-Widget-Key + X-Pro-Key to _cors.js; reduce Max-Age 86400→3600 (#2321)
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.
2026-03-27 00:51:09 +04:00
..