Files
Satyam-Rastogi 1f0e74a7b0 fix(storm-intel): call IEM API directly from browser — no proxy needed
IEM geojson/sbw.geojson has CORS open to all origins so the browser can
fetch it directly. Moves all transformation logic into useStormEvents.js,
eliminating the need for vercel dev or any server-side proxy. Works with
plain pnpm run dev on localhost. Falls back to MOCK_STORM_EVENTS if IEM
is unreachable. api/storm-polygons.js kept as optional edge cache layer.
2026-05-19 00:22:05 +05:30

10 lines
178 B
JSON

{
"buildCommand": "pnpm build",
"devCommand": "pnpm dev",
"outputDirectory": "dist",
"rewrites": [
{ "source": "/((?!api/).*)", "destination": "/index.html" }
]
}