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.
6 lines
266 B
Text
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
|