remove prefix
This commit is contained in:
parent
be29aed2a2
commit
dee2bf2fc0
1 changed files with 2 additions and 0 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
import { Elysia } from "elysia";
|
import { Elysia } from "elysia";
|
||||||
|
import swagger from "@elysiajs/swagger";
|
||||||
import { projectRoutes } from "./project/project.route";
|
import { projectRoutes } from "./project/project.route";
|
||||||
import { uploadRoutes } from "./upload/upload.route";
|
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: "" })
|
export const api = new Elysia({ prefix: "" })
|
||||||
|
.use(swagger())
|
||||||
.get("/", () => {
|
.get("/", () => {
|
||||||
console.log("Root endpoint accessed");
|
console.log("Root endpoint accessed");
|
||||||
return "Hello from PlanPostAI Canvas API";
|
return "Hello from PlanPostAI Canvas API";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue