mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-21 00:21:27 +00:00
apiJson was throwing a plain Error on non-ok responses, which React Router always treated as a 500. Now throws a Response with the actual status code so API 404s surface as proper 404 error pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| data | ||
| layouts | ||
| lib | ||
| routes | ||
| welcome | ||
| api-client.ts | ||
| app.css | ||
| root.tsx | ||
| routes.ts | ||