SkateSpots/public/_redirects
SkateSpots a1c30cad4e feat(mints): Cashu mint directory (MintRadar) + same-origin proxy
New '/mints' page: browse Community MintRadar mints with health (online/latency/
degraded/archived), NUT count, terms, and add-to-wallet on native.

MintRadar has no CORS, so it's fetched same-origin at /api/mints/*:
- prod: Netlify proxy redirect in public/_redirects (+ 10m cache in _headers)
- dev: Vite server.proxy in vite.config.ts
This also hides users' IPs from MintRadar. Data is unofficial/rate-limited;
the page degrades to a friendly error state. Nav entry + smoke route added.
2026-09-26 21:20:19 +07:00

6 lines
266 B
Text

# MintRadar proxy: the browser can't call mintradar.org directly (no CORS), so
# proxy same-origin server-side. Also hides users' IPs and lets us cache.
/api/mints/* https://mintradar.org/api/mints/:splat 200
# SPA fallback (must stay last).
/* /index.html 200