reafactored data mart and added better job monitor
This commit is contained in:
@@ -23,6 +23,7 @@ router.get("/", async (_, res) => {
|
||||
? sqlServerStats?.data[0].UptimeSeconds
|
||||
: [],
|
||||
eomFGPkgSheetVersion: 1, // this is the excel file version when we have a change to the macro we want to grab this
|
||||
masterMacroFile: 1,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
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