This commit is contained in:
bipproduction
2025-10-27 02:32:07 +08:00
parent d07a30ad6f
commit 10162473f4
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ import UserRoute from "./server/routes/user_route";
import LayananRoute from "./server/routes/layanan_route";
import AduanRoute from "./server/routes/aduan_route";
import MCPRoute from "./server/routes/mcp_route";
import { cors } from "@elysiajs/cors";
const Docs = new Elysia({
tags: ["docs"],
@@ -33,6 +34,7 @@ const Api = new Elysia({
.use(AduanRoute);
const app = new Elysia()
.use(cors())
.use(Api)
.use(Docs)
.use(Auth)
@@ -50,7 +52,7 @@ const app = new Elysia()
},
)
.use(MCPRoute)
.get("/*", html)
// .get("/*", html)
.listen(3000, () => {
console.log("Server running at http://localhost:3000");
});

2
x.sh
View File

@@ -1,2 +1,2 @@
curl -N -v -X GET "https://n8n.wibudev.com/mcp"
curl -N -v -X GET "https://cld-dkr-prod-jenna-mcp.wibudev.com/mcp"