chore: return static sse payload

This commit is contained in:
bipproduction
2025-10-08 15:31:12 +08:00
parent d0e4ec60d8
commit 5ed2e618ff

View File

@@ -51,7 +51,7 @@ const app = new Elysia()
set.headers["Content-Type"] = "text/event-stream" set.headers["Content-Type"] = "text/event-stream"
set.headers["Cache-Control"] = "no-cache" set.headers["Cache-Control"] = "no-cache"
set.headers["Connection"] = "keep-alive" 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: { detail: {
description: "MCP manifest", description: "MCP manifest",