From 5ed2e618ffeb46d8f6a49201dadeefdf94d76769 Mon Sep 17 00:00:00 2001 From: bipproduction Date: Wed, 8 Oct 2025 15:31:12 +0800 Subject: [PATCH] chore: return static sse payload --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 6220f39..8b9893d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -51,7 +51,7 @@ const app = new Elysia() set.headers["Content-Type"] = "text/event-stream" set.headers["Cache-Control"] = "no-cache" set.headers["Connection"] = "keep-alive" - return (send: any) => send(`event: ready\ndata: {"ok":true}\n\n`) + return `event: ready\ndata: {"ok":true}\n\n` }, { detail: { description: "MCP manifest",