Commit Graph

8 Commits

Author SHA1 Message Date
Apple
d8ab32b59f fix: add beforeFiles to rewrites config 2025-12-01 04:07:59 -08:00
Apple
6ebdaac25d fix: use afterFiles/fallback rewrites to allow Next.js API routes to work 2025-12-01 04:06:51 -08:00
Apple
85fdcdf0be feat: City Rooms routing implementation
Backend:
- GET /api/v1/city/rooms - list all city rooms
- GET /api/v1/city/rooms/{slug} - get room by slug with host agents

Frontend:
- Updated /city/[slug] page with host agents section
- Added breadcrumb navigation
- Updated API client to fetch room by slug
- Added rewrite for /api/city/rooms/:slug

Task doc: TASK_PHASE_CITY_ROOMS_ROUTING_v1.md
2025-11-30 10:54:39 -08:00
Apple
39f76912ae fix: proxy /api/nodes/* to city-service public endpoints 2025-11-30 06:22:24 -08:00
Apple
dd3624018a fix: Add proper Next.js rewrites for agent/microdao API
- /api/agents/:agentId/dashboard -> /city/agents/:agentId/dashboard
- /api/microdao/* -> /city/microdao/*
- /api/public/* -> /public/*
- /api/city/* -> /city/*

Fixes 404 errors on agent/microdao cabinet pages
2025-11-30 06:17:25 -08:00
Apple
4a30f6c1a9 fix(web): use Docker service name as default for API proxy 2025-11-29 17:12:03 -08:00
Apple
c68b81fad1 fix(web): use INTERNAL_API_URL for API rewrites proxy 2025-11-29 17:09:50 -08:00
Apple
2f30f40c0b feat: Add Next.js 15 glassmorphism frontend for DAARION MVP 2025-11-26 09:20:33 -08:00