feat(datamart): active article moved over to the new version

This commit is contained in:
2025-11-26 08:52:28 -06:00
parent 59c6fd0117
commit 8e7f1eb098
4 changed files with 124 additions and 21 deletions

View File

@@ -5,6 +5,7 @@ import { setupForkliftRoutes } from "../forklifts/routes/routes.js";
import { setupLogisticsRoutes } from "../logistics/routes.js";
import { setupSystemRoutes } from "../system/routes.js";
import { setupMobileRoutes } from "../mobile/route.js";
import { setupDataMartRoutes } from "../datamart/routes/routes.js";
export const setupRoutes = (app: Express, basePath: string) => {
// all routes
@@ -14,6 +15,7 @@ export const setupRoutes = (app: Express, basePath: string) => {
setupLogisticsRoutes(app, basePath);
setupForkliftRoutes(app, basePath);
setupMobileRoutes(app, basePath);
setupDataMartRoutes(app, basePath)
// always try to go to the app weather we are in dev or in production.
app.get(basePath + "/", (req: Request, res: Response) => {