upd: list pengaduan

Deskripsi:
- pencarian data list pengaduan

No Issues
This commit is contained in:
2025-11-07 15:19:23 +08:00
parent e0456b2dba
commit 928ecb4c76
4 changed files with 206 additions and 131 deletions

View File

@@ -13,7 +13,7 @@ import { MCPRoute } from "./server/routes/mcp_route";
import PelayananRoute from "./server/routes/pelayanan_surat_route";
import PengaduanRoute from "./server/routes/pengaduan_route";
import UserRoute from "./server/routes/user_route";
import cors from "@elysiajs/cors"
import cors from "@elysiajs/cors";
const Docs = new Elysia({
tags: ["docs"],
@@ -41,11 +41,13 @@ const app = new Elysia()
.use(Api)
.use(Docs)
.use(Auth)
.use(cors({
origin: "*",
methods: ["GET", "POST", "OPTIONS"],
allowedHeaders: ["Content-Type"],
}))
.use(
cors({
origin: "*",
methods: ["GET", "POST", "OPTIONS"],
allowedHeaders: ["Content-Type"],
}),
)
.get(
"/.well-known/mcp.json",
async () => {