This commit is contained in:
bipproduction
2025-10-26 20:41:50 +08:00
parent f1b212c5d2
commit f1e3d42c22

View File

@@ -10,6 +10,7 @@ import { convertOpenApiToMcp } from "./server/lib/mcp-converter";
import UserRoute from "./server/routes/user_route"; import UserRoute from "./server/routes/user_route";
import LayananRoute from "./server/routes/layanan_route"; import LayananRoute from "./server/routes/layanan_route";
import AduanRoute from "./server/routes/aduan_route"; import AduanRoute from "./server/routes/aduan_route";
import MCPRoute from "./server/routes/mcp_route";
const Docs = new Elysia({ const Docs = new Elysia({
tags: ["docs"], tags: ["docs"],
@@ -29,7 +30,8 @@ const Api = new Elysia({
.use(CredentialRoute) .use(CredentialRoute)
.use(UserRoute) .use(UserRoute)
.use(LayananRoute) .use(LayananRoute)
.use(AduanRoute); .use(AduanRoute)
.use(MCPRoute);
const app = new Elysia() const app = new Elysia()
.use(Api) .use(Api)