From 0aafecc4b865a460721e6b59d106695f01066195 Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 29 Jul 2024 14:29:50 +0100 Subject: [PATCH] fix: fix on ci/cd --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 96f66ea0..dffbbb1a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -49,7 +49,7 @@ server.use( ], }), ); - +server.use("/api/v1", authRoute); server.use(Limiter); server.use(express.json()); server.use(express.urlencoded({ extended: true })); @@ -63,7 +63,7 @@ server.get("/api/v1", (req: Request, res: Response) => { // }); server.use("/api/v1", userRouter); -server.use("/api/v1", authRoute); + server.use("/api/v1", adminRouter); server.use("/api/v1", sendEmailRoute); server.use("/api/v1/sms", smsRouter);