feat(forklifts): added backend forklift stuff and frontend companies
This commit is contained in:
9
app/src/internal/forklifts/routes/routes.ts
Normal file
9
app/src/internal/forklifts/routes/routes.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Express, Request, Response } from "express";
|
||||
import { requireAuth } from "../../../pkg/middleware/authMiddleware.js";
|
||||
import companies from "./companies/companiesRoutes.js";
|
||||
export const setupForkliftRoutes = (app: Express, basePath: string) => {
|
||||
app.use(
|
||||
basePath + "/api/forklifts/companies", // will pass bc system admin but this is just telling us we need this
|
||||
companies,
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user