update 00000
This commit is contained in:
parent
af0d91ed94
commit
48f8013dfe
1 changed files with 2 additions and 4 deletions
|
|
@ -4,13 +4,11 @@ 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({
|
export const api = new Elysia({});
|
||||||
prefix: "/api",
|
|
||||||
});
|
|
||||||
api.get("/", () => {
|
api.get("/", () => {
|
||||||
return "Hello from PlanPostAI Canvas API";
|
return "Hello from PlanPostAI Canvas API";
|
||||||
});
|
});
|
||||||
api.use(authRoute);
|
api.use(authRoute);
|
||||||
api.use(projectRoutes);
|
api.use(projectRoutes);
|
||||||
api.use(uploadRoutes);
|
api.use(uploadRoutes);
|
||||||
api.use(downloadRoute);
|
api.use(downloadRoute);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue