diff --git a/entrypoint.sh b/entrypoint.sh index 34eafec..628bb4d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,4 +6,4 @@ bun run db:migrate # Start the application echo "Starting the application..." -./serverg \ No newline at end of file +./server \ No newline at end of file diff --git a/src/api/index.ts b/src/api/index.ts index 212e676..856196b 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -8,12 +8,12 @@ import { categoryRoutes } from "./category/category.route"; import { designRoutes } from "./design/design.route"; export const api = new Elysia({ - prefix: "/api", + prefix: "", }); api.get("/", () => { - return "Hello from PlanPostAI Canvas API" -}) + return "Hello from PlanPostAI Canvas API"; +}); api.use(authRoute); api.use(projectRoutes); @@ -21,4 +21,4 @@ api.use(uploadRoutes); api.use(photoLibraryRoutes); api.use(uploadShapesRoutes); api.use(categoryRoutes); -api.use(designRoutes); \ No newline at end of file +api.use(designRoutes);