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/* };