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:
parent
dbba43cb3c
commit
d1bb30517f
1 changed files with 2 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue