Files
fusion/packages/dashboard/app/api.ts
Fusion 4addaa8f41 fix(FN-2539): preserve dashboard API compatibility and harden proxy wildcard routing
- Replace app/api.ts with a compatibility barrel that re-exports the legacy client API surface from app/api/legacy.ts
- Move the existing dashboard API implementation into app/api/legacy.ts and update static-analysis tests to include the new module path
- Update proxy wildcard routing to use /proxy/:nodeId/{*splat}, keeping explicit proxy handlers ahead of the fallback route
- Reject proxying to local nodes with a consistent 400 response and expand proxy route tests plus route-ordering compatibility notes
2026-04-25 19:56:27 -07:00

8 lines
244 B
TypeScript

/**
* Compatibility barrel for the dashboard client API surface.
*
* Existing callers import from `../api` / `../../api`; keep this entrypoint stable
* while implementation lives under `app/api/*` modules.
*/
export * from "./api/legacy";