feat(31-01): mount puterProxyRoutes in app.ts

- Add import for puterProxyRoutes from routes/puter-proxy.js
- Mount api.use(puterProxyRoutes(db)) after costRoutes inside api Router
- Route is protected by boardMutationGuard as required
This commit is contained in:
Nexus Dev 2026-04-03 00:36:31 +00:00
parent dbba43cb3c
commit d1bb30517f

View file

@ -21,6 +21,7 @@ import { goalRoutes } from "./routes/goals.js";
import { approvalRoutes } from "./routes/approvals.js";
import { secretRoutes } from "./routes/secrets.js";
import { costRoutes } from "./routes/costs.js";
import { puterProxyRoutes } from "./routes/puter-proxy.js";
import { googleOAuthRoutes } from "./routes/google-oauth.js";
import { activityRoutes } from "./routes/activity.js";
import { dashboardRoutes } from "./routes/dashboard.js";
@ -168,6 +169,7 @@ export async function createApp(
api.use(approvalRoutes(db));
api.use(secretRoutes(db));
api.use(costRoutes(db));
api.use(puterProxyRoutes(db));
api.use(googleOAuthRoutes(db));
api.use(activityRoutes(db));
api.use(dashboardRoutes(db));