redone routes
This commit is contained in:
@@ -17,7 +17,6 @@ import resourceRoutesSpecial from "./routes/resourcesSpecial";
|
||||
import fastifyCookie from "@fastify/cookie";
|
||||
import historyRoutes from "./routes/history";
|
||||
import fileRoutes from "./routes/files";
|
||||
import userRoutes from "./routes/auth/user"
|
||||
import functionRoutes from "./routes/functions";
|
||||
import bankingRoutes from "./routes/banking";
|
||||
import exportRoutes from "./routes/exports"
|
||||
@@ -30,8 +29,6 @@ import staffTimeRoutes from "./routes/staff/time";
|
||||
import staffTimeConnectRoutes from "./routes/staff/timeconnects";
|
||||
|
||||
//Resources
|
||||
import productsAndServicesRoutes from "./routes/resources/productsServices";
|
||||
|
||||
import resourceRoutes from "./routes/resources/main";
|
||||
|
||||
//M2M
|
||||
@@ -106,7 +103,6 @@ async function main() {
|
||||
await subApp.register(resourceRoutesSpecial);
|
||||
await subApp.register(historyRoutes);
|
||||
await subApp.register(fileRoutes);
|
||||
await subApp.register(userRoutes);
|
||||
await subApp.register(functionRoutes);
|
||||
await subApp.register(bankingRoutes);
|
||||
await subApp.register(exportRoutes);
|
||||
@@ -118,7 +114,6 @@ async function main() {
|
||||
await subApp.register(staffTimeConnectRoutes);
|
||||
|
||||
|
||||
await subApp.register(productsAndServicesRoutes);
|
||||
await subApp.register(resourceRoutes);
|
||||
|
||||
},{prefix: "/api"})
|
||||
|
||||
Reference in New Issue
Block a user