Files
syndarix/frontend/next.config.ts
Felipe Cardoso a2790a5682 fix(frontend): preserve /api prefix in Next.js rewrite
The rewrite was incorrectly configured:
- Before: /api/:path* -> http://backend:8000/:path* (strips /api)
- After: /api/:path* -> http://backend:8000/api/:path* (preserves /api)

This was causing requests to /api/v1/agent-types to be sent to
http://backend:8000/v1/agent-types instead of the correct path.
2026-01-06 03:12:08 +01:00

3.0 KiB
Executable File