D96 修复: 彻底清理MCP Server残骸
This commit is contained in:
parent
6d428d34d7
commit
4c8a407389
@ -867,9 +867,6 @@ app.post('/mcp', authenticate, async (req, res) => {
|
||||
|
||||
// MCP 端点 — GET (SSE 通知流,保持连接)
|
||||
app.get('/mcp', authenticate, (req, res) => {
|
||||
res.setHeader('Content-Type', 'text/event-stream');
|
||||
res.setHeader('Cache-Control', 'no-cache');
|
||||
res.setHeader('Connection', 'keep-alive');
|
||||
res.flushHeaders();
|
||||
|
||||
// 发送心跳
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user