diff options
| author | yyamashita <yyamashita@mosquit.one> | 2026-05-15 00:22:37 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@mosquit.one> | 2026-05-15 00:22:37 +0900 |
| commit | 4ab34c8f0f9b4e1f636a26012f2a75863b471c51 (patch) | |
| tree | afae0d4cf96657d5c55a1d576e365f4d6b177c46 /app/routes/band-edit.tsx | |
| parent | eb02f582324aa9b57d287a7b5b809974f4954f98 (diff) | |
Fix build: merge detail/update into existing API routes
Parametric resource routes cause a React Router prod build error
(commonjs--resolver server-only module conflict). Merged the GET?id=
and PATCH logic into the existing api-bands.tsx and api-artists.tsx
instead of creating separate :uuid route files.
- GET /api/bands?id=UUID → band detail with links/members
- PATCH /api/bands → partial update (append_links, append_members)
- Same pattern for /api/artists
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/routes/band-edit.tsx')
0 files changed, 0 insertions, 0 deletions
