reafactored data mart and added better job monitor
This commit is contained in:
9
backend/system/system.routes.ts
Normal file
9
backend/system/system.routes.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Express } from "express";
|
||||
import stats from "./stats.route.js";
|
||||
|
||||
export const setupSystemRoutes = (baseUrl: string, app: Express) => {
|
||||
//stats will be like this as we dont need to change this
|
||||
app.use(`${baseUrl}/api/stats`, stats);
|
||||
|
||||
// all other system should be under /api/system/*
|
||||
};
|
||||
Reference in New Issue
Block a user