dev #3

Merged
sanjib merged 2 commits from dev into main 2025-02-19 06:31:25 +00:00
2 changed files with 4 additions and 7 deletions
Showing only changes of commit 411e48f10c - Show all commits

View file

@ -7,7 +7,9 @@ import { downloadRoute } from "./downloadCount/download.count.route";
export const api = new Elysia({
prefix: "/api",
});
api.get("/", () => {
return "Hello from PlanPostAI Canvas API";
});
api.use(authRoute);
api.use(projectRoutes);
api.use(uploadRoutes);

View file

@ -23,7 +23,7 @@ const app = new Elysia({
credentials: true,
}))
.use(swagger({
path: "/docs",
path: "/api/docs",
documentation: {
info: {
title: "Canvas API",
@ -49,11 +49,6 @@ const app = new Elysia({
console.error(error)
});
app.get("/", () => {
return "Hello from PlanPostAI Canvas API";
});
// all routes here
app.use(api);