remove prefix

This commit is contained in:
smfahim25 2025-03-19 11:19:36 +06:00
parent 9ed91b4a06
commit d58e78bb0e

View file

@ -4,7 +4,7 @@ import { uploadRoutes } from "./upload/upload.route";
import { authRoute } from "./auth/auth.route"; import { authRoute } from "./auth/auth.route";
import { downloadRoute } from "./downloadCount/download.count.route"; import { downloadRoute } from "./downloadCount/download.count.route";
export const api = new Elysia({ prefix: "/api" }) export const api = new Elysia({ prefix: "" })
.get("/", () => { .get("/", () => {
console.log("Root endpoint accessed"); console.log("Root endpoint accessed");
return "Hello from PlanPostAI Canvas API"; return "Hello from PlanPostAI Canvas API";