All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 1m27s
BREAKING CHANGE: moved teh middleware to call the api hits to the main app and removed from everywhere else closes #18
9 lines
345 B
TypeScript
9 lines
345 B
TypeScript
import type { Express } from "express";
|
|
|
|
import getActiveJobs from "./cronerActiveJobs.route.js";
|
|
import jobStatusChange from "./cronerStatusChange.route.js";
|
|
export const setupUtilsRoutes = (baseUrl: string, app: Express) => {
|
|
app.use(`${baseUrl}/api/utils/croner`, getActiveJobs);
|
|
app.use(`${baseUrl}/api/utils/croner`, jobStatusChange);
|
|
};
|