This commit is contained in:
bipproduction
2025-10-28 16:09:27 +08:00
parent e009e27d47
commit 841fca55d1

View File

@@ -10,11 +10,8 @@ import { convertOpenApiToMcp } from "./server/lib/mcp-converter";
import UserRoute from "./server/routes/user_route";
import LayananRoute from "./server/routes/layanan_route";
import AduanRoute from "./server/routes/aduan_route";
import { cors } from "@elysiajs/cors";
import { MCPRoute } from "./server/routes/mcp_route";
import PengaduanRoute from "./server/routes/pengaduan_route";
const PORT = process.env.PORT || 3000;
const Docs = new Elysia({
@@ -29,7 +26,6 @@ const Api = new Elysia({
prefix: "/api",
tags: ["api"],
})
.use(cors())
.use(Docs)
.use(apiAuth)
.use(ApiKeyRoute)