From 48f8013dfee40f9e421dc1664b2ca4ab277b90bc Mon Sep 17 00:00:00 2001 From: smfahim25 Date: Wed, 19 Mar 2025 10:17:54 +0600 Subject: [PATCH] update 00000 --- src/api/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 467471b..05c586d 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -4,13 +4,11 @@ import { uploadRoutes } from "./upload/upload.route"; import { authRoute } from "./auth/auth.route"; import { downloadRoute } from "./downloadCount/download.count.route"; -export const api = new Elysia({ - prefix: "/api", -}); +export const api = new Elysia({}); api.get("/", () => { return "Hello from PlanPostAI Canvas API"; }); api.use(authRoute); api.use(projectRoutes); api.use(uploadRoutes); -api.use(downloadRoute); \ No newline at end of file +api.use(downloadRoute);